Skip to content

A feature-rich command-line audio/video downloader

Fix `--throttled-rate`

pukkandan43b2290658d3
diff --git a/yt_dlp/utils.py b/yt_dlp/utils.py
index b40e275c06..7ac7a106bd 100644
--- a/yt_dlp/utils.py
+++ b/yt_dlp/utils.py
@@ -2608,8 +2608,8 @@ class ThrottledDownload(ReExtractInfo):
""" Download speed below --throttled-rate. """
msg = 'The download speed is below throttle limit'
- def __init__(self, msg):
- super().__init__(msg, expected=False)
+ def __init__(self):
+ super().__init__(self.msg, expected=False)
class UnavailableVideoError(YoutubeDLError):