yd: Only use IPv4 with youtube-dl, get rid of horrible download times
commit297d9f9f3001f502ec341a996ee6456e52a01da0
authorØyvind A. Holm <sunny@sunbase.org>
Fri, 24 Sep 2021 13:09:05 +0000 (24 15:09 +0200)
committerØyvind A. Holm <sunny@sunbase.org>
Fri, 24 Sep 2021 13:09:05 +0000 (24 15:09 +0200)
treeb1ebf38c6faa04bb84a9e5a7a3f058b94200faed
parent8a57d6e89f40355b273589aae77798cb8bbcaa8b
yd: Only use IPv4 with youtube-dl, get rid of horrible download times

Something has happened the last couple of days where download times have
increased tremendously, average download time was around 7 minutes, even
for tiny videos. Each step in the process (downloading web page,
downloading thumbnail, etc) took around 2 minutes to complete because it
had trouble connecting. Limiting the connection to IPv4 fixes the
problem.

The problem started the same day after some experiments with yt-dlp.
Don't know if there's any connection, but this is the first time it has
happened and I've been using youtube-dl for more than 9 years.

85313e58-1d43-11ec-89ea-5582e081d110
yd