[hitomi] add 'format' option (#2260)

default is 'webp' since downloading original files is no longer allowed
This commit is contained in:
Mike Fährmann
2022-02-03 22:51:10 +01:00
parent 492436f936
commit 86fa412b47
3 changed files with 39 additions and 9 deletions

View File

@@ -1305,6 +1305,21 @@ Description
You can use ``"all"`` instead of listing all values separately.
extractor.hitomi.format
-----------------------
Type
``string``
Default
``"webp"``
Description
Selects which image format to download.
Available formats are ``"webp"`` and ``"avif"``.
``"original"`` will try to download the original ``jpg`` or ``png`` versions,
but is most likely going to fail with ``403 Forbidden`` errors.
extractor.hitomi.metadata
-------------------------
Type

View File

@@ -114,6 +114,7 @@
},
"hitomi":
{
"format": "webp",
"metadata": false
},
"idolcomplex":