[civitai] fix/improve video downloads (#7502)

- add 'quality-videos' option
- fix downloading static .webp files instead of video
This commit is contained in:
Mike Fährmann
2025-05-10 16:13:48 +02:00
parent 3799369248
commit f343c8c0b6
4 changed files with 118 additions and 8 deletions

View File

@@ -1895,6 +1895,26 @@ Description
to download images in JPEG format at their original resolution.
extractor.civitai.quality-videos
--------------------------------
Type
* ``string``
* ``list`` of ``strings``
Default
``"quality=100"``
Example
* ``"+transcode=true,quality=100"``
* ``["+", "transcode=true", "quality=100"]``
Description
A (comma-separated) list of video quality options
to pass with every video URL.
Known available options include ``original``, ``quality``, ``transcode``
Use ``+`` as first character to `add` the given options to the
`quality <extractor.civitai.quality_>`__ ones.
extractor.cyberdrop.domain
--------------------------
Type

View File

@@ -188,7 +188,8 @@
"include" : ["user-models", "user-posts"],
"metadata": false,
"nsfw" : true,
"quality" : "original=true"
"quality" : "original=true",
"quality-videos": "quality=100"
},
"coomerparty":
{