ytdl-sub/tests/unit/script
Jesse Bannon 5e335b195c
[FEATURE] Allow YAML maps and lists in overrides, convert to script format (#956)
Adds the ability to create map and list-based override variables. 

For example, you can now create lists like this:
```
overrides:
  urls:
    - "https://...1"
    - "https://...2"
```
which is equivalent to:
```
overrides:
  urls: >-
    {
      [
        "https://...1",
        "https://...2",
      ]
    }
```

Likewise, maps can now look like:
```
overrides:
  music_video_category:
    concerts:
      - "https://...1"
      - "https://...2"
    interviews:
      - "https://...3"
```
which is equivalent to:
```
overrides:
  music_video_category: >-
    {
      "concerts": [
        "https://...1",
        "https://...2"
      ],
      "interviews": [
        "https://...3"
      ]
    }
```
2024-06-02 20:02:48 -07:00
..
functions [FEATURE] %regex_sub built-in script function (#971) 2024-04-27 22:47:29 -07:00
types [FEATURE] Allow YAML maps and lists in overrides, convert to script format (#956) 2024-06-02 20:02:48 -07:00
__init__.py [BACKEND][HUGE] Function Support in variable syntax (#838) 2023-12-18 16:08:15 -08:00
conftest.py [BACKEND][HUGE] Function Support in variable syntax (#838) 2023-12-18 16:08:15 -08:00
test_parser.py [DEV] Escapable curly braces (#955) 2024-04-01 22:40:56 -07:00
test_script.py [FEATURE] Automatically handle playlists ordered in reverse (#948) 2024-04-01 04:24:41 -07:00