Reduce default of `--extractor-retries` to 3

so that even those not using sleep won't get 429'd on youtube
pull/310/head
pukkandan 4 years ago
parent da7f321e93
commit d6e51845b7
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

@ -698,7 +698,7 @@ Then simply run `make`. You can also run `make yt-dlp` instead to compile only t
## Extractor Options:
--extractor-retries RETRIES Number of retries for known extractor
errors (default is 10), or "infinite"
errors (default is 3), or "infinite"
--allow-dynamic-mpd Process dynamic DASH manifests (default)
(Alias: --no-ignore-dynamic-mpd)
--ignore-dynamic-mpd Do not process dynamic DASH manifests

@ -1220,7 +1220,7 @@ def parseOpts(overrideArguments=None):
extractor = optparse.OptionGroup(parser, 'Extractor Options')
extractor.add_option(
'--extractor-retries',
dest='extractor_retries', metavar='RETRIES', default=10,
dest='extractor_retries', metavar='RETRIES', default=3,
help='Number of retries for known extractor errors (default is %default), or "infinite"')
extractor.add_option(
'--allow-dynamic-mpd', '--no-ignore-dynamic-mpd',

Loading…
Cancel
Save