aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-03-10 03:25:38 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-03-10 03:29:01 +0530
commit51c22ef4e2af966d6100d0d97d9e8019022df8ad (patch)
tree8492dbfee8edf4a0b4b391b67417026d5a2f93f2
parent33b8c411bc240fb7860ff2220344e9cbd4989933 (diff)
downloadhypervideo-pre-51c22ef4e2af966d6100d0d97d9e8019022df8ad.tar.lz
hypervideo-pre-51c22ef4e2af966d6100d0d97d9e8019022df8ad.tar.xz
hypervideo-pre-51c22ef4e2af966d6100d0d97d9e8019022df8ad.zip
Fix `--throttled-rate`
Typo in d1b5f70bc9f9dcda1544b88b42ecc25f7f7aa1c7 Closes #2996
-rw-r--r--yt_dlp/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/__init__.py b/yt_dlp/__init__.py
index 8221ec544..0fc517b99 100644
--- a/yt_dlp/__init__.py
+++ b/yt_dlp/__init__.py
@@ -255,7 +255,7 @@ def validate_options(opts):
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)