尝试将 youtube-dl 与许多不同类型的 youtube 视频一起使用,但我不断收到“无法下载视频信息网页:HTTP 错误 500:内部服务器错误”消息:
>youtube-dl 'http://www.youtube.com/watch?v=t-eWAc1Knlw' -v
[debug] youtube-dl version 2013.02.02
[debug] Python version 2.7.3
[debug] Proxy map: {}
[youtube] Setting language
[youtube] t-eWAc1Knlw: Downloading video webpage
[youtube] t-eWAc1Knlw: Downloading video info webpage
ERROR: unable to download video info webpage: HTTP Error 500: Internal Server Error
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/bin/youtube-dl/__main__.py", line 17, in <module>
youtube_dl.main()
File "/usr/bin/youtube-dl/youtube_dl/__init__.py", line 512, in main
_real_main()
File "/usr/bin/youtube-dl/youtube_dl/__init__.py", line 496, in _real_main
retcode = fd.download(all_urls)
File "/usr/bin/youtube-dl/youtube_dl/FileDownloader.py", line 505, in download
videos = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/InfoExtractors.py", line 93, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/InfoExtractors.py", line 397, in _real_extract
self._downloader.trouble(u'ERROR: unable to download video info webpage: %s' % compat_str(err))
File "/usr/bin/youtube-dl/youtube_dl/FileDownloader.py", line 230, in trouble
tb_data = traceback.format_list(traceback.extract_stack())
通过使用 --update 选项运行它,我已将 youtube-dl 更新到版本 2013.02.02(最新版本),但它仍然会产生相同的错误。