ytdl-sub/tests/unit/script/functions
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
..
__init__.py [BACKEND][HUGE] Function Support in variable syntax (#838) 2023-12-18 16:08:15 -08:00
test_array_functions.py [BACKEND] Optional default in %array_at scripting function (#879) 2024-01-06 23:47:09 -08:00
test_boolean_functions.py [DEV] Add type-check functions (#905) 2024-01-18 23:24:10 -08:00
test_conditional_functions.py [BUGFIX] Do not run all branches of if functions in scripts (#999) 2024-06-03 15:02:59 -07:00
test_date_functions.py [BACKEND][HUGE] Function Support in variable syntax (#838) 2023-12-18 16:08:15 -08:00
test_error_functions.py [FEATURE] Filter plugins, regex helper script functions (#848) 2023-12-20 09:52:12 -08:00
test_json_functions.py [BACKEND][HUGE] Function Support in variable syntax (#838) 2023-12-18 16:08:15 -08:00
test_map_functions.py [DEV] %map_extend scripting function (#906) 2024-01-19 00:51:44 -08:00
test_numeric_functions.py [BACKEND][HUGE] Function Support in variable syntax (#838) 2023-12-18 16:08:15 -08:00
test_print_functions.py [BACKEND] Enable throttle protection by default (#1257) 2025-07-03 00:34:37 -07:00
test_regex_functions.py [DEV] Unit test filter plugin (#1066) 2024-09-26 11:54:15 -07:00
test_string_functions.py [FEATURE] Add join and strip string functions to scripting (#1218) 2025-05-04 18:19:32 -07:00