mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 10:42:34 +01:00
77 lines
2.4 KiB
Python
77 lines
2.4 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License version 2 as
|
|
# published by the Free Software Foundation.
|
|
|
|
from gallery_dl.extractor import poipiku
|
|
|
|
|
|
__tests__ = (
|
|
{
|
|
"#url" : "https://poipiku.com/25049/",
|
|
"#category": ("", "poipiku", "user"),
|
|
"#class" : poipiku.PoipikuUserExtractor,
|
|
"#pattern" : r"https://img-org\.poipiku\.com/user_img\d+/000025049/\d+_\w+\.(jpe?g|png)$",
|
|
"#range" : "1-10",
|
|
"#count" : 10,
|
|
},
|
|
|
|
{
|
|
"#url" : "https://poipiku.com/IllustListPcV.jsp?PG=1&ID=25049&KWD=",
|
|
"#category": ("", "poipiku", "user"),
|
|
"#class" : poipiku.PoipikuUserExtractor,
|
|
},
|
|
|
|
{
|
|
"#url" : "https://poipiku.com/25049/5864576.html",
|
|
"#category": ("", "poipiku", "post"),
|
|
"#class" : poipiku.PoipikuPostExtractor,
|
|
"#pattern" : r"https://img-org\.poipiku\.com/user_img\d+/000025049/005864576_EWN1Y65gQ\.png$",
|
|
|
|
"count" : "1",
|
|
"description" : "",
|
|
"extension" : "png",
|
|
"filename" : "005864576_EWN1Y65gQ",
|
|
"num" : 1,
|
|
"post_category": "DOODLE",
|
|
"post_id" : "5864576",
|
|
"user_id" : "25049",
|
|
"user_name" : "ユキウサギ",
|
|
},
|
|
|
|
{
|
|
"#url" : "https://poipiku.com/2166245/6411749.html",
|
|
"#category": ("", "poipiku", "post"),
|
|
"#class" : poipiku.PoipikuPostExtractor,
|
|
"#pattern" : r"https://img-org\.poipiku\.com/user_img\d+/002166245/006411749_\w+\.jpeg$",
|
|
"#count" : 4,
|
|
|
|
"count" : "4",
|
|
"description" : "絵茶の産物ネタバレあるやつ",
|
|
"num" : int,
|
|
"post_category": "SPOILER",
|
|
"post_id" : "6411749",
|
|
"user_id" : "2166245",
|
|
"user_name" : "wadahito",
|
|
},
|
|
|
|
{
|
|
"#url" : "https://poipiku.com/3572553/5776587.html",
|
|
"#comment" : "different warning button style",
|
|
"#category": ("", "poipiku", "post"),
|
|
"#class" : poipiku.PoipikuPostExtractor,
|
|
"#pattern" : r"https://img-org\.poipiku.com/user_img\d+/003572553/005776587_(\d+_)?\w+\.jpeg$",
|
|
"#count" : 3,
|
|
|
|
"count" : "3",
|
|
"description" : "ORANGE OASISボスネタバレ<br />曲も大好き<br />2枚目以降はほとんど見えなかった1枚目背景のヒエログリフ小ネタです𓀀",
|
|
"num" : int,
|
|
"post_category": "SPOILER",
|
|
"post_id" : "5776587",
|
|
"user_id" : "3572553",
|
|
"user_name" : "nagakun",
|
|
},
|
|
|
|
)
|