ytdl-sub/tests/integration
Jesse Bannon df8b4a1df8
[FEATURE] Override variable support for throttle protection ranges (#1315)
Adds support for setting throttle_protection range values using static override variables. `sleep_per_download_s` has additional support for entry variables since it's used per entry.

We can now experiment with scaling this value based on entry attributes, such as duration. Example:

```
throttle_protection:
  sleep_per_download_s:
    min: >-
      {
        %mul(5.5, %pow( duration, 0.4 ))
      }
    max: >-
      {
        %mul(6.5, %pow( duration, 0.6 ))
      }
```
2025-08-28 23:55:57 -07:00
..
cli [DEV] More OutputOption unit tests (#1082) 2024-10-02 21:37:54 -07:00
plugins [FEATURE] Override variable support for throttle protection ranges (#1315) 2025-08-28 23:55:57 -07:00
prebuilt_presets [FEATURE] Filter Duration prebuilt preset (#1259) 2025-07-04 13:41:54 -07:00
__init__.py [DEV] Separate integration actions (#1079) 2024-09-30 23:55:15 -07:00
conftest.py [FEATURE] Resolution assert built into throttle protection (#1288) 2025-08-19 17:42:56 -07:00