大家好,(请考虑我在询问之前研究了错误)所以一周前我在我的 ubuntu 18 机器上安装了 youtube-dl/youtube-dlg。突然(2019 年 7 月 30 日,星期二),该程序开始表现得很奇怪。从某种意义上说,它以前从未采取过行动,这很奇怪。下载视频列表(多个视频下载)后,程序将新下载的视频重命名为underscore issue。并且它停止了其他人的下载,因为它已经“已经下载”了。我运行终端终端命令:
~youtube-dl video-url
输出是:
[youtube:user] playlist: Downloading channel page
WARNING: Unable to downloadwebpage: HTTP Error 404: Not found
[youtube:user] playlist: Downloading page #1
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); 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 inclue its complete output.
现在详细的输出是:
➜ ~ youtube-dl --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.07.30
[debug] Python version 2.7.15+ (CPython) - Linux-4.15.0-55-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.6, ffprobe 3.4.6, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
Usage: youtube-dl [OPTIONS] URL [URL...]
youtube-dl: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.
我采取的下一步是在从我的机器上删除它后安装最新版本。这解决了问题的一部分。youtube-dlg 中的错误没有通过更新解决,我仍然遇到下划线重命名问题的错误。但是我可以通过终端下载但不能下载所有视频。其中一些视频显示了此错误:
[download] 3.4% of ~7.84KiB at 194[download] 3.4% of ~7.84KiB at 194[download] 0.1% of ~1.11MiB at 194[download] 0.3% of ~1.11MiB at 2.[download] 0.6% of ~1.11MiB at 3.[download] 1.3% of ~1.11MiB at 5.[download] 2.8% of ~1.11MiB at 1.[download] 5.6% of ~1.11MiB at 1.[download] 6.9% of ~1.11MiB at 1.[download] 6.9% of ~1.11MiB at 1.[download] 4.3% of ~1.79MiB at 265[download] 4.4% of ~1.79MiB at 656[download] 4.6% of ~1.79MiB at 1.[download] 5.1% of ~1.79MiB at 866[download] 6.0% of ~1.79MiB at 1.[download] 7.7% of ~1.79MiB at 1.[download] 10.3% of ~1.79MiB at 2.[download] 10.3% of ~1.79MiB at 2.47MiB/s ETA 00:13[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 4 (attempt 1 of 10)...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 4 (attempt 2 of 10)...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 4 (attempt 3 of 10)...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 4 (attempt 4 of 10)...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 4 (attempt 5 of 10)...
这是我的实际状态,我不知道要寻找什么或在哪里寻找。感谢任何帮助。
我遇到了类似的问题。以这种方式解决:删除文件 ~/.config/youtube-dlg/youtube-dl。运行 youtube-dlg 时,它加载了一个新的 youtube-dl。就这样 :)