我一直使用youtube-dl
从 YouTube 下载视频,但突然停止工作:
youtube-dl "http://www.youtube.com/watch?v=wglrcytdE9Y&feature=related"
[youtube] Setting language
[youtube] wglrcytdE9Y: Downloading video webpage
[youtube] wglrcytdE9Y: Downloading video info webpage
[youtube] wglrcytdE9Y: Extracting video information
ERROR: unable to download video
youtube-dl --version
2012.02.27
答案1
答案2
查看这个修复:
sudo apt-get install git
git clone https://github.com/rg3/youtube-dl.git
sudo apt-get install zip
nano youtube_dl/InfoExtractors.py (modify line 405)
make compile
./youtube-dl
答案3
一个常见的错误是没有转义&
.将 URL 放在引号中应该可以解决此问题:
$ youtube-dl -t "http://www.youtube.com/watch?v=uHlDtZ6Oc3s&feature=channel_video_title"