[koharu] improve format selection (#6088)

- allow specifying more than one possible format
- ignore not available formats
This commit is contained in:
Mike Fährmann
2024-08-29 09:33:24 +02:00
parent c51938b82b
commit cf8e04d999
2 changed files with 28 additions and 12 deletions

View File

@@ -2689,14 +2689,17 @@ Description
extractor.koharu.format
-----------------------
Type
``string``
* ``string``
* ``list`` of ``strings``
Default
``"original"``
``["0", "1600", "1280", "980", "780"]``
Description
Name of the image format to download.
Name(s) of the image format to download.
| Available formats are
| ``"780"``, ``"980"``, ``"1280"``, ``"1600"``, ``"0"``/``"original"``
When more than one format is given, the first available one is selected.
| Possible formats are
| ``"780"``, ``"980"``, ``"1280"``, ``"1600"``, ``"0"`` (original)
extractor.lolisafe.domain