youtube - 无法下载JSON元数据:HTTP错误404:未找到(由HTTPError()引起);请在https://yt-dl.org/bug报告此问题

标签 youtube youtube-dl

我正在尝试使用youtube-dl下载多元化视频,但似乎无法正常工作,并出现以下错误。我有一个付费的复数帐户。

我们如何解决这个问题?

我引用了以下内容: https://gist.github.com/jesperorb/c14aef85735c54f479896cfa6f16a1e5

下面的错误供引用:

C:\Users\pc\Downloads\youtube-dl-master\bin>youtube-dl -v --username "XXX@gmail.com" --password "XXX@123" --verbose --sleep-interval 120 "https://app.pluralsight.com/player?course=oauth2-json-web-tokens-openid-connect-introduction&author=dominick-baier&name=oauthintro-m1-overview&clip=0&mode=live"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--username', 'PRIVATE', '--password', 'PRIVATE', '--verbose', '--sleep-interval', '120', 'https://app.pluralsight.com/player?course=oauth2-json-web-tokens-openid-connect-introduction&author=dominick-baier&name=oauthintro-m1-overview&clip=0&mode=live']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.06.19
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: none
[debug] Proxy map: {}
[pluralsight] Downloading login page
[pluralsight] Logging in
[pluralsight] oauthintro-m1-overview-0: Downloading course JSON
[pluralsight] oauthintro-m1-overview-0: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (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\rg3\tmp3niajf93\build\youtube_dl\extractor\common.py", line 598, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp3niajf93\build\youtube_dl\YoutubeDL.py", line 2211, 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

最佳答案

我能够解决这个问题。我没有使用最新的youtube-dl DLL,因此我进行了以下操作-

youtube-dl -U



然后只需执行命令,其开始下载如下

enter image description here

关于youtube - 无法下载JSON元数据:HTTP错误404:未找到(由HTTPError()引起);请在https://yt-dl.org/bug报告此问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51250500/

相关文章:

html - 使用XSLT嵌入youtube视频,更改SRC属性

python - 如何在 Python 中构造 re.findall 正则表达式以捕获 Youtube 时间戳

function - ffmpeg - 如何分别处理视频和音频 URL 的流?

c# - 为什么在 c# 进程类中使用 youtube-dl 时出现 "PermissionError: [WinError 5] Access is denied"错误?

youtube - YouTube视频仅循环播放10秒钟

wordpress - YouTube嵌入宽度不能大于740像素吗?

javascript - .each()中的多个AJAX调用,即使有多个错误,也要一劳永逸

python - 为什么 youtube-dl 仍在下载 'keepvideo' :False? 的视频

python - 在Raspberry Pi和Python上流式传输YouTube播放列表

php - 是否可以使用youtube-dl获取特定格式的音频/视频文件大小