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

@@ -7,3 +7,5 @@ hiddenimports = [
for package in (extractor, downloader, postprocessor)
for module in package.modules
]
hiddenimports.append("youtube_dl")