如何解决错误:无法下载网页:HTTP错误403:youtube-dl中由HTTPError引起被禁止
我已经支付了课程费用。而且,其中一些视频可以使用“网络”选项卡中的.mpd URL下载。 但是,一些视频显示了上述错误。
我运行了--verbose命令,它给了我以下输出-:
这是冗长的提示:
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose','https://bae.sgp1.digitaloceanspaces.com/videos/2/dash/8a7aecbce5d83a906fd69980f49b94b1.mpd']
[debug] Encodings: locale cp1252,fs mbcs,out cp437,pref cp1252
[debug] youtube-dl version 2020.07.28
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg git-2020-06-26-7447045,ffprobe git-2020-06-26-7447045
[debug] Proxy map: {}
[generic] 8a7aecbce5d83a906fd69980f49b94b1: Requesting header
WARNING: Could not send HEAD request to https://bae.sgp1.digitaloceanspaces.com/videos/2/dash/8a7aecbce5d83a906fd69980f49b94b1.mpd: HTTP Error 403: Forbidden
[generic] 8a7aecbce5d83a906fd69980f49b94b1: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpq2whuxta\build\youtube_dl\extractor\common.py",line 627,in _request_webpage
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpq2whuxta\build\youtube_dl\YoutubeDL.py",line 2238,in urlopen
File "C:\Python\Python34\lib\urllib\request.py",line 470,in open
File "C:\Python\Python34\lib\urllib\request.py",line 580,in http_response
File "C:\Python\Python34\lib\urllib\request.py",line 508,in error
File "C:\Python\Python34\lib\urllib\request.py",line 442,in _call_chain
File "C:\Python\Python34\lib\urllib\request.py",line 588,in http_error_default
如何解决此错误并下载这些视频?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。