ytdl-sub/tests/unit
Jesse Bannon 6c180c9478
[BACKEND] Enable throttle protection by default (#1257)
To protect new users, all prebuilt preset (excluding Soundcloud and Bandcamp) will include throttle protection by default.


> How do I disable?

Set the override variable `enable_throttle_protection: False`.
This can be done on a per-subscription basis and/or in the top __preset__ section to apply to all presets:

```
__preset__:
  overrides:
    enable_throttle_protection: False
```

> What if I already use throttle protection?

Your settings will override whatever values are set in the defaults.

Closes:
- https://github.com/jmbannon/ytdl-sub/issues/1121
- https://github.com/jmbannon/ytdl-sub/issues/1186
2025-07-03 00:34:37 -07:00
..
cli [FEATURE] Add ability to suppress colors via CLI arg (#1215) 2025-05-03 19:56:46 -07:00
config [FEATURE] square_thumbnail plugin (#1244) 2025-06-18 22:37:06 -07:00
docgen [DOCS] Advanced scripting usage, rename Overrides to Static (#866) 2024-01-01 00:01:46 -08:00
entries [BACKEND][HUGE] Function Support in variable syntax (#838) 2023-12-18 16:08:15 -08:00
main [DEV] Bump black from 22.3.0 to 24.4.2 (#973) 2024-04-27 15:46:47 -07:00
plugins [FEATURE] release_date support for date_range (#1231) 2025-06-01 09:28:42 -07:00
prebuilt_presets [FEATURE] Throw more actionable error if users supply the wrong type of url for TV show presets (#1210) 2025-04-17 22:14:37 -07:00
script [BACKEND] Enable throttle protection by default (#1257) 2025-07-03 00:34:37 -07:00
utils Support duplicate chapter timestamps by merging (#1179) 2025-02-21 08:34:46 -08:00
validators [DEV] Get windows testing in better state (#1214) 2025-05-03 19:40:28 -07:00
__init__.py entry 100% test coverage 2022-03-30 16:48:04 +00:00