Skip to content

Commit

Permalink
add a 'whitelist' to '--ugoira-conv' (#382)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Aug 15, 2019
1 parent e661a1c commit 2cbbc3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gallery_dl/option.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,8 @@ def build_parser():
"--ugoira-conv",
dest="postprocessors",
action="append_const", const={"name": "ugoira", "ffmpeg-args": (
"-c:v", "libvpx", "-crf", "4", "-b:v", "5000k", "-an")},
"-c:v", "libvpx", "-crf", "4", "-b:v", "5000k", "-an"),
"whitelist": ("pixiv", "danbooru")},
help="Convert Pixiv Ugoira to WebM (requires FFmpeg)",
)
postprocessor.add_argument(
Expand Down

0 comments on commit 2cbbc3d

Please sign in to comment.