diff --git a/docs/source/config_reference/plugins.rst b/docs/source/config_reference/plugins.rst index 97c88886..f2213937 100644 --- a/docs/source/config_reference/plugins.rst +++ b/docs/source/config_reference/plugins.rst @@ -1005,6 +1005,9 @@ Provides options to make ytdl-sub look more 'human-like' to protect from throttl range-based values, a random number will be chosen within the range to avoid sleeps looking scripted. +Range min and max values support static override variables within their definitions. +``sleep_per_download_s`` supports both static and override variables. + :Usage: .. code-block:: yaml diff --git a/src/ytdl_sub/plugins/throttle_protection.py b/src/ytdl_sub/plugins/throttle_protection.py index 098d0fd0..cf01e537 100644 --- a/src/ytdl_sub/plugins/throttle_protection.py +++ b/src/ytdl_sub/plugins/throttle_protection.py @@ -150,6 +150,9 @@ class ThrottleProtectionOptions(ToggleableOptionsDictValidator): range-based values, a random number will be chosen within the range to avoid sleeps looking scripted. + Range min and max values support static override variables within their definitions. + ``sleep_per_download_s`` supports both static and override variables. + :Usage: .. code-block:: yaml