1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 02:32:33 +01:00

add '--cbz' command-line option

This commit is contained in:
Mike Fährmann 2023-11-14 23:10:31 +01:00
parent 4700051562
commit 51e377e612
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
2 changed files with 10 additions and 0 deletions

View File

@ -119,6 +119,7 @@
## Post-processing Options:
--zip Store downloaded files in a ZIP archive
--cbz Store downloaded files in a CBZ archive
--ugoira-conv Convert Pixiv Ugoira to WebM (requires FFmpeg)
--ugoira-conv-lossless Convert Pixiv Ugoira to WebM in VP9 lossless
mode

View File

@ -468,6 +468,15 @@ def build_parser():
action="append_const", const="zip",
help="Store downloaded files in a ZIP archive",
)
postprocessor.add_argument(
"--cbz",
dest="postprocessors",
action="append_const", const={
"name" : "zip",
"extension": "cbz",
},
help="Store downloaded files in a CBZ archive",
)
postprocessor.add_argument(
"--ugoira-conv",
dest="postprocessors", action="append_const", const={