[pixiv] fix ugoira test
This commit is contained in:
@@ -189,9 +189,8 @@ class PixivWorkExtractor(PixivExtractor):
|
|||||||
# ugoira
|
# ugoira
|
||||||
(("https://www.pixiv.net/member_illust.php"
|
(("https://www.pixiv.net/member_illust.php"
|
||||||
"?mode=medium&illust_id=66806629"), {
|
"?mode=medium&illust_id=66806629"), {
|
||||||
"pattern": (r"https?://i\.pximg\.net/img-zip-ugoira/.*/"
|
"url": "7267695a985c4db8759bebcf8d21dbdd2d2317ef",
|
||||||
r"66806629_ugoira1920x1080\.zip|text:.+"),
|
"keywords": {"frames": list},
|
||||||
"count": 2,
|
|
||||||
}),
|
}),
|
||||||
(("http://i1.pixiv.net/c/600x600/img-master/"
|
(("http://i1.pixiv.net/c/600x600/img-master/"
|
||||||
"img/2008/06/13/00/29/13/966412_p0_master1200.jpg"), None),
|
"img/2008/06/13/00/29/13/966412_p0_master1200.jpg"), None),
|
||||||
|
|||||||
@@ -262,7 +262,7 @@ def build_parser():
|
|||||||
"--ugoira-conv",
|
"--ugoira-conv",
|
||||||
action=ConfigConstAction, nargs=0,
|
action=ConfigConstAction, nargs=0,
|
||||||
dest="postprocessors", const=({"name": "ugoira"},),
|
dest="postprocessors", const=({"name": "ugoira"},),
|
||||||
help="Convert Pixiv Ugoira to WebM",
|
help="Convert Pixiv Ugoira to WebM (requires FFmpeg)",
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
|
|||||||
Reference in New Issue
Block a user