ytdl-sub/tests/unit
Jesse Bannon f1a2187a17
[FEATURE] Add throttle_protection plugin (#799)
Provides options to make ytdl-sub look more 'human-like' to protect from throttling. For range-based values, a random number will be chosen within the range to avoid sleeps looking scripted.

Usage:
```
    throttle_protection:
      sleep_per_download_s:
        min: 2.2
        max: 10.8
      sleep_per_subscription_s:
        min: 9.0
        max: 14.1
      max_downloads_per_subscription:
        min: 10
        max: 36
      subscription_download_probability: 1.0
```
2023-11-05 08:23:12 -08:00
..
cli [FEATURE] Add throttle_protection plugin (#799) 2023-11-05 08:23:12 -08:00
config [FEATURE] Add throttle_protection plugin (#799) 2023-11-05 08:23:12 -08:00
entries [FEATURE] release_date source variables (#638) 2023-06-24 23:01:18 -07:00
main [FEATURE] TV Show prebuilt presets that require no config (#788) 2023-11-01 22:39:32 -07:00
plugins [FEATURE] Add throttle_protection plugin (#799) 2023-11-05 08:23:12 -08:00
prebuilt_presets [FEATURE] Add throttle_protection plugin (#799) 2023-11-05 08:23:12 -08:00
utils [FEATURE] Process all subscriptions even if one or more error (#771) 2023-10-21 12:25:38 -07:00
validators [FEATURE] Configurable file_name_max_bytes (#562) 2023-03-25 20:17:38 -07:00
__init__.py entry 100% test coverage 2022-03-30 16:48:04 +00:00
conftest.py [FEATURE] Add throttle_protection plugin (#799) 2023-11-05 08:23:12 -08:00