我在Ubuntu20.04上使用youtube-dl下载任何视频都有问题。
每当我尝试下载一段视频时,Downloading webpage的进度就会停滞不前。然后我等着什么都没发生..。
youtube-dl --verbose https://youtu.be/IMxN6tocjX0
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://youtu.be/IMxN6tocjX0']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.8.3 (CPython) - Linux-5.15.0-46-generic-x86_64-with-glibc2.10
[debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] IMxN6tocjX0: Downloading webpage我有通过pip (2021.12.17)获得的最新版本。
我也尝试使用yt-dlp的当前版本(2022.08.19),但问题相同。
发布于 2022-08-26 09:38:49
对我来说,这似乎是IPv6的一个问题。使用标志运行youtube-dl
--force-ipv4为我工作过。
相同的标志也适用于yt-dlp的相同问题。
发布于 2022-08-26 11:24:34
https://askubuntu.com/questions/1425800
复制相似问题