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

Could you add downloading from Swiss TV archives ? #2608

Closed
Meaulnes opened this issue Mar 23, 2014 · 6 comments
Closed

Could you add downloading from Swiss TV archives ? #2608

Meaulnes opened this issue Mar 23, 2014 · 6 comments

Comments

@Meaulnes
Copy link

@Meaulnes Meaulnes commented Mar 23, 2014

http://www.rts.ch
TV archives URLs start with http://www.rts.ch/archives/tv/
Thank you.
EXCELLENT tool by the way.

Regards.
Meaulnes

@phihag
Copy link
Contributor

@phihag phihag commented Mar 23, 2014

Thank you for the report. Can you name an example video URL (i.e. the one you'd pass into youtube-dl)?

@Meaulnes
Copy link
Author

@Meaulnes Meaulnes commented Mar 23, 2014

Sure !
I tried with http://www.rts.ch/archives/tv/divers/3449373-les-enfants-terribles.html

and here is the verbose output I got :
youtube-dl --verbose http://www.rts.ch/archives/tv/divers/3449373-les-enfants-terribles.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.rts.ch/archives/tv/divers/3449373-les-enfants-terribles.html']
[debug] Encodings: locale 'UTF-8', fs 'utf-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.03.21.5
[debug] Python version 2.7.5 - Darwin-13.1.0-x86_64-i386-64bit
[debug] Proxy map: {}
[generic] 3449373-les-enfants-terribles: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 3449373-les-enfants-terribles: Downloading webpage
[generic] 3449373-les-enfants-terribles: Extracting information
ERROR: Unsupported URL: http://www.rts.ch/archives/tv/divers/3449373-les-enfants-terribles.html; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 320, in _real_extract
doc = parse_xml(webpage)
File "/usr/bin/youtube-dl/youtube_dl/utils.py", line 1286, in parse_xml
return xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: mismatched tag: line 55, column 2
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 506, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 161, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 535, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.rts.ch/archives/tv/divers/3449373-les-enfants-terribles.html; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.

@phihag phihag closed this in f70daac Mar 24, 2014
@phihag
Copy link
Contributor

@phihag phihag commented Mar 24, 2014

Thank you for the report. Support for RTS has been added in youtube-dl 2014.03.24. Type sudo youtube-dl -U to update.

@Meaulnes
Copy link
Author

@Meaulnes Meaulnes commented Mar 24, 2014

Thank you, but the new version doesn't download :
$ sudo youtube-dl -U
Password:
youtube-dl is up to date (2014.03.21.5)

@phihag
Copy link
Contributor

@phihag phihag commented Mar 24, 2014

Sorry, I made a mistake with the version naming. Updating should work now / 10 minutes from this post on.

@Meaulnes
Copy link
Author

@Meaulnes Meaulnes commented Mar 24, 2014

Works perfectly !
Thank you for your quick solving.

Best Regards.
Meaulnes

Le 24 mars 2014 à 10:28, Philipp Hagemeister notifications@github.com a écrit :

Sorry, I made a mistake with the version naming. Updating should work now / 10 minutes from this post on.


Reply to this email directly or view it on GitHub.

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
3 participants
You can’t perform that action at this time.