]> jfr.im git - yt-dlp.git/commitdiff
Fix `--throttled-rate`
authorpukkandan <redacted>
Wed, 9 Mar 2022 21:55:38 +0000 (03:25 +0530)
committerpukkandan <redacted>
Wed, 9 Mar 2022 21:59:01 +0000 (03:29 +0530)
Typo in d1b5f70bc9f9dcda1544b88b42ecc25f7f7aa1c7

Closes #2996

yt_dlp/__init__.py

index 8221ec5440c5861c7a1fe7adf143d4d087e78261..0fc517b99605e9d04569850bc7a30b5a22033cec 100644 (file)
@@ -255,7 +255,7 @@ def parse_bytes(name, value):
         return numeric_limit
 
     opts.ratelimit = parse_bytes('rate limit', opts.ratelimit)
-    opts.ratelimit = parse_bytes('throttled rate limit', opts.throttledratelimit)
+    opts.throttledratelimit = parse_bytes('throttled rate limit', opts.throttledratelimit)
     opts.min_filesize = parse_bytes('min filesize', opts.min_filesize)
     opts.max_filesize = parse_bytes('max filesize', opts.max_filesize)
     opts.buffersize = parse_bytes('buffer size', opts.buffersize)