add option to use different youtube-dl modules (fixes #1330)

by setting the 'downloader.ytdl.module' value. For example

{
    "downloader": {
        "ytdl": {
            "module": "yt_dlp"
        }
    }
}

or '-o module=yt_dlp'
This commit is contained in:
Mike Fährmann
2021-03-01 03:10:42 +01:00
parent 5f1a6ff6fa
commit 1a38fae785
3 changed files with 23 additions and 5 deletions

View File

@@ -1943,6 +1943,16 @@ Description
`downloader.ytdl.raw-options`_ to ``true`` to suppress all output.
downloader.ytdl.module
----------------------
Type
``string``
Default
``"youtube_dl"``
Description
Name of the youtube-dl Python module to import.
downloader.ytdl.outtmpl
-----------------------
Type