]> jfr.im git - yt-dlp.git/commitdiff
Reduce default of `--extractor-retries` to 3
authorpukkandan <redacted>
Tue, 2 Mar 2021 21:33:04 +0000 (03:03 +0530)
committerpukkandan <redacted>
Tue, 2 Mar 2021 21:34:08 +0000 (03:04 +0530)
so that even those not using sleep won't get 429'd on youtube

README.md
yt_dlp/options.py

index 22125cd6bec9d95da94c2ac71b35a98d3e4c5f05..a8b7d3f1496b10c76c704a2a49a17b71f7eba48a 100644 (file)
--- a/README.md
+++ b/README.md
@@ -698,7 +698,7 @@ ## SponSkrub (SponsorBlock) Options:
 
 ## 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
index 866c50cb96395ba692fd5618892a938118cf75a0..2d7961f0f0d4cd4982b799b5e8c6c9bccc107e0b 100644 (file)
@@ -1220,7 +1220,7 @@ def _dict_from_multiple_values_options_callback(
     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',