mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 01:02:13 +01:00
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:
parent
da7f321e93
commit
d6e51845b7
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue