youtube-dl是否仍然可以使用(最新版本youtube-dl-2020.2.16)?

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了youtube-dl是否仍然可以使用(最新版本youtube-dl-2020.2.16)?相关的知识,希望对你有一定的参考价值。

使用的命令:

youtube-dl --max-filesize 30m -f m4a -o "/home/dc3014b3c6a1a23bba88b2a1fbcc1447.m4a" "https://www.youtube.com/watch?v=_Xa0ydtx8PM"

youtube-dl对我来说根本无法工作。发生这样的错误:

ERROR: Unable to download webpage: <urlopen error EOF occurred in violation of protocol (_ssl.c:618)> (caused by URLError(SSLEOFError(8, u'EOF occurred in violation of protocol (_ssl.c:618)'),))

OR

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.

但是当我使用curl命令获取URL内容时,就可以了。

curl -v https://www.youtube.com/watch?v=_Xa0ydtx8PM

我该如何解决?

答案

有效,请尝试将youtube-dl降级。

以上是关于youtube-dl是否仍然可以使用(最新版本youtube-dl-2020.2.16)?的主要内容,如果未能解决你的问题,请参考以下文章

YouTube-dl 使用命令

如何在Roku频道中传输Youtube视频? [关闭]

Yo!最新的 Centos 里装最新的 MySQL

youtube-dl 安装和用法

youtube-dl 使用小记

使用最新版本的 Eclipse 仍然可以进行 J2ME 开发吗?