]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/__init__.py
Add option `--use-extractors`
[yt-dlp.git] / yt_dlp / __init__.py
index 317dd26231cea426a8ffa8636e701d70ca5922fc..e9234e6f49186257c6e195aa5b742b9b7a6751b3 100644 (file)
@@ -766,6 +766,7 @@ def parse_options(argv=None):
         'windowsfilenames': opts.windowsfilenames,
         'ignoreerrors': opts.ignoreerrors,
         'force_generic_extractor': opts.force_generic_extractor,
+        'allowed_extractors': opts.allowed_extractors or ['default'],
         'ratelimit': opts.ratelimit,
         'throttledratelimit': opts.throttledratelimit,
         'overwrites': opts.overwrites,