From 51c22ef4e2af966d6100d0d97d9e8019022df8ad Mon Sep 17 00:00:00 2001 From: pukkandan Date: Thu, 10 Mar 2022 03:25:38 +0530 Subject: [PATCH] Fix `--throttled-rate` Typo in d1b5f70bc9f9dcda1544b88b42ecc25f7f7aa1c7 Closes #2996 --- yt_dlp/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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)