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.58k stars 10.05k forks source link

Tudou stopped working #1614

Closed ghost closed 11 years ago

ghost commented 11 years ago

After updating to latest version, Tudou videos stopped working, see below:

./youtube-dl -v -s http://www.tudou.com/programs/view/9igu4NFQaSM/ [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-v', '-s', 'http://www.tudou.com/programs/view/9igu4NFQaSM/'] [debug] youtube-dl version 2013.10.17 [debug] Python version 2.7.3 - Linux-3.2.0-2-amd64-x86_64-with-debian-7.0 [debug] Proxy map: {} [Tudou] 9igu4NFQaSM: Downloading webpage ERROR: Unable to extract title; 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 "./youtube-dl/youtube_dl/YoutubeDL.py", line 353, in extract_info ie_result = ie.extract(url) File "./youtube-dl/youtube_dl/extractor/common.py", line 117, in extract return self._real_extract(url) File "./youtube-dl/youtube_dl/extractor/tudou.py", line 51, in _real_extract title = self._search_regex(r",kw:'\"[\"']", webpage, u'title') File "./youtube-dl/youtube_dl/extractor/common.py", line 251, in _search_regex raise ExtractorError(u'Unable to extract %s' % _name) ExtractorError: Unable to extract title; 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 11 years ago

Thank you for the report. This should be fixed in youtube-dl v2013.10.18. Type

sudo youtube-dl -U

to update.