mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-25 20:22:36 +01:00
add '--cbz' command-line option
This commit is contained in:
parent
4700051562
commit
51e377e612
@ -119,6 +119,7 @@
|
|||||||
|
|
||||||
## Post-processing Options:
|
## Post-processing Options:
|
||||||
--zip Store downloaded files in a ZIP archive
|
--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 Convert Pixiv Ugoira to WebM (requires FFmpeg)
|
||||||
--ugoira-conv-lossless Convert Pixiv Ugoira to WebM in VP9 lossless
|
--ugoira-conv-lossless Convert Pixiv Ugoira to WebM in VP9 lossless
|
||||||
mode
|
mode
|
||||||
|
@ -468,6 +468,15 @@ def build_parser():
|
|||||||
action="append_const", const="zip",
|
action="append_const", const="zip",
|
||||||
help="Store downloaded files in a ZIP archive",
|
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(
|
postprocessor.add_argument(
|
||||||
"--ugoira-conv",
|
"--ugoira-conv",
|
||||||
dest="postprocessors", action="append_const", const={
|
dest="postprocessors", action="append_const", const={
|
||||||
|
Loading…
Reference in New Issue
Block a user