From 2cbbc3dec4fb1763d0b658157cc81453cec037a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Thu, 15 Aug 2019 13:27:57 +0200 Subject: [PATCH] add a 'whitelist' to '--ugoira-conv' (#382) --- gallery_dl/option.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gallery_dl/option.py b/gallery_dl/option.py index af70fc87..ecc2ee3d 100644 --- a/gallery_dl/option.py +++ b/gallery_dl/option.py @@ -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(