1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-12-17 22:55:42 +07:00

[downloader/external] Add support for custom options (Fixes #4885, closes #5098)

This commit is contained in:
Philipp Hagemeister
2015-03-02 15:06:09 +01:00
parent 295df4edb9
commit c75f0b361a
5 changed files with 26 additions and 6 deletions

View File

@@ -435,8 +435,12 @@ def _hide_login_info(opts):
downloader.add_option(
'--external-downloader',
dest='external_downloader', metavar='COMMAND',
help='(experimental) Use the specified external downloader. '
help='Use the specified external downloader. '
'Currently supports %s' % ','.join(list_external_downloaders()))
downloader.add_option(
'--external-downloader-args',
dest='external_downloader_args', metavar='ARGS',
help='Give these arguments to the external downloader.')
workarounds = optparse.OptionGroup(parser, 'Workarounds')
workarounds.add_option(