1 问题描述
使用python的youtube_dl模块下载youtube视频时失败,错误信息如下:
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to download video info webpage: HTTP Error 410: Gone
WARNING: unable to download video info webpage: HTTP Error 410: Gone
WARNING: unable to download video info webpage: HTTP Error 410: Gone
WARNING: unable to download video info webpage: HTTP Error 410: Gone
ERROR: y-JQqnqmEgg: YouTube said: Unable to extract video data
WARNING: unable to download video info webpage: HTTP Error 410: Gone
WARNING: unable to download video info webpage: HTTP Error 410: Gone
WARNING: unable to download video info webpage: HTTP Error 410: Gone
WARNING: unable to download video info webpage: HTTP Error 410: Gone
ERROR: y-JQqnqmEgg: YouTube said: Unable to extract video data
ERROR: unable to download video data: HTTP Error 403: Forbidden
2 问题分析
从异常中分析可知,应该是youtube_dl版本不对导致报错。
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
3 问题解决
pip install youtube_dl==2020.12.12
再次运行下载程序,不再报错,问题解决
Clip RD/Radio6_0.mp4 is not present in crops, hence is broken. Discarding it.
E