Reduce default of --extractor-retries to 3

so that even those not using sleep won't get 429'd on youtube
This commit is contained in:
pukkandan 2021-03-03 03:03:04 +05:30
parent da7f321e93
commit d6e51845b7
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698
2 changed files with 2 additions and 2 deletions

View File

@ -698,7 +698,7 @@ ## SponSkrub (SponsorBlock) Options:
## Extractor Options: ## Extractor Options:
--extractor-retries RETRIES Number of retries for known extractor --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) --allow-dynamic-mpd Process dynamic DASH manifests (default)
(Alias: --no-ignore-dynamic-mpd) (Alias: --no-ignore-dynamic-mpd)
--ignore-dynamic-mpd Do not process dynamic DASH manifests --ignore-dynamic-mpd Do not process dynamic DASH manifests

View File

@ -1220,7 +1220,7 @@ def _dict_from_multiple_values_options_callback(
extractor = optparse.OptionGroup(parser, 'Extractor Options') extractor = optparse.OptionGroup(parser, 'Extractor Options')
extractor.add_option( extractor.add_option(
'--extractor-retries', '--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"') help='Number of retries for known extractor errors (default is %default), or "infinite"')
extractor.add_option( extractor.add_option(
'--allow-dynamic-mpd', '--no-ignore-dynamic-mpd', '--allow-dynamic-mpd', '--no-ignore-dynamic-mpd',