youtube-dl 不起作用。HTTP 错误 429:请求过多 我该如何解决这个问题?youtube-dl 是最新的

Ton*_*med 6 youtube-dl

[youtube] lMttqRuFmL8: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 429: Too Many Requests (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.
Run Code Online (Sandbox Code Playgroud)

小智 9

使用--cookies对我有用。

cookies.txt在 Firefox 上安装插件。导出饼干。

$ youtube-dl --cookies cookies.txt www.youtube.com/watch?v=..
Run Code Online (Sandbox Code Playgroud)


Kir*_*ran 7

在本期中,@dstftw 解释说 YouTube 禁止了所有 IPv6 地址。

https://github.com/ytdl-org/youtube-dl/issues/21729

所以,--force-ipv4应该有帮助。如果没有,另一种解决方法可能是通过--cookies选项从浏览器附加 cookie 。