Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rts.ch changed their URL #4349

Closed
patrick-ausderau opened this issue Dec 1, 2014 · 2 comments
Closed

rts.ch changed their URL #4349

patrick-ausderau opened this issue Dec 1, 2014 · 2 comments

Comments

@patrick-ausderau
Copy link

@patrick-ausderau patrick-ausderau commented Dec 1, 2014

Hi,
The rts.ch did launch a new player and thus changed the structure of their pages. Would it be possible to update the youtube-dl accordingly? Thanks!

Seems that as of today all their new videos start with URL http://www.rts.ch/play/tv/ And older video still with the old style URL get redirected with this new scheme (not 100% sure).

$ youtube-dl --verbose http://www.rts.ch/play/tv/-/video/le-19h30?id=6348260
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.rts.ch/play/tv/-/video/le-19h30?id=6348260']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.12.01
[debug] Python version 3.4.2 - Linux-3.17.4-gnu-1.1-x86_64-with-arch
[debug] exe versions: ffmpeg 2.4.3, ffprobe 2.4.3, rtmpdump 2.4
[debug] Proxy map: {}
[generic] le-19h30?id=6348260: Requesting header
WARNING: Falling back on generic information extractor.
[generic] le-19h30?id=6348260: Downloading webpage
[generic] le-19h30?id=6348260: Extracting information
ERROR: Unsupported URL: http://www.rts.ch/play/tv/-/video/le-19h30?id=6348260; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 553, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 241, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1044, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
youtube_dl.utils.ExtractorError: Unsupported URL: http://www.rts.ch/play/tv/-/video/le-19h30?id=6348260; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

@dstftw dstftw closed this in b1399a1 Dec 2, 2014
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 2, 2014

New rts URL format will be supported in the next release of youtube-dl. Thanks for the report.

@patrick-ausderau
Copy link
Author

@patrick-ausderau patrick-ausderau commented Dec 3, 2014

Works like a charm. Thanks for the quick fix :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.