ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.07k stars 10.02k forks source link

screen.yahoo.com video comes up "Unsupported URL" #2701

Closed jillh510 closed 10 years ago

jillh510 commented 10 years ago

python -m youtube_dl -v --skip-download https://screen.yahoo.com/smartwatches-latest-wearable-gadgets-163745379-cbs.html [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-v', '--skip-download', 'https://screen.yahoo.com/smartwatches-latest-wearable-gadgets-163745379-cbs.html'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2014.04.04.3 [debug] Python version 2.7.5 - Darwin-13.1.0-x86_64-i386-64bit [debug] Proxy map: {} [generic] smartwatches-latest-wearable-gadgets-163745379-cbs: Requesting header WARNING: Falling back on generic information extractor. [generic] smartwatches-latest-wearable-gadgets-163745379-cbs: Downloading webpage [generic] smartwatches-latest-wearable-gadgets-163745379-cbs: Extracting information ERROR: Unsupported URL: https://screen.yahoo.com/smartwatches-latest-wearable-gadgets-163745379-cbs.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 "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/extractor/generic.py", line 376, in _real_extract doc = parse_xml(webpage) File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/utils.py", line 1315, 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: not well-formed (invalid token): line 48, column 132 Traceback (most recent call last): File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 511, in extract_info ie_result = ie.extract(url) File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/extractor/common.py", line 161, in extract return self._real_extract(url) File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/extractor/generic.py", line 609, in _real_extract raise ExtractorError('Unsupported URL: %s' % url) ExtractorError: Unsupported URL: https://screen.yahoo.com/smartwatches-latest-wearable-gadgets-163745379-cbs.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 commented 10 years ago

Thank you for the report, fixed in youtube-dl 2014.04.04.5. Type pip install -U youtube-dl to update (or, if you don't use pip, use the updating functionality of your Python package manager).