How to use an external downloader aria2c
rather than internal http client.
See also: ytdl-org/youtube-dl#6923
This seemed to work at the following commit hash. YMMV.
$ git remote show origin
* remote origin
Fetch URL: git@github.com:ytdl-org/youtube-dl.git
Push URL: git@github.com:ytdl-org/youtube-dl.git
HEAD branch: master
. . .
$ git rev-parse HEAD
f24bc9272e9b74efc4c4af87c862f5f78921d424
If you clone this from the above listed repo, you can run the following. Otherwise, you'll have to specify the path to youtube-dl
on your system.
$ python -m youtube_dl --external-downloader aria2c https://www.youtube.com/watch?v=dQw4w9WgXcQ -vvvv
Install
aria2c
viapacman
: https://archlinux.org/packages/?name=aria2