[newgrounds] extend 'format' option (#5709)

- check more extensions for original formats (mp4, webm, m4v, mov, mkv)
- allow specifying which extensions and recoded formats to check
This commit is contained in:
Mike Fährmann
2024-06-12 20:32:01 +02:00
parent 86f0c3baaf
commit c6fc0281e8
3 changed files with 64 additions and 32 deletions

View File

@@ -2758,17 +2758,23 @@ Description
extractor.newgrounds.format
---------------------------
Type
``string``
* ``string``
* ``list`` of ``string``
Default
``"original"``
Example
``"720p"``
* ``"720p"``
* ``["mp4", "mov", "1080p", "720p"]``
Description
Selects the preferred format for video downloads.
If the selected format is not available,
the next smaller one gets chosen.
If this is a ``list``, try each given
filename extension in original resolution or recoded format
until an available format is found.
extractor.newgrounds.include
----------------------------