1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-23 11:12:40 +01:00
gallery-dl/test/results/paheal.py
2023-09-10 14:45:01 +02:00

98 lines
3.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 paheal
__tests__ = (
{
"#url" : "https://rule34.paheal.net/post/list/Ayane_Suzuki/1",
"#category": ("shimmie2", "paheal", "tag"),
"#class" : paheal.PahealTagExtractor,
"#pattern" : r"https://[^.]+\.paheal\.net/_images/\w+/\d+%20-%20",
"#count" : ">= 15",
},
{
"#url" : "https://rule34.paheal.net/post/list/Ayane_Suzuki/1",
"#category": ("shimmie2", "paheal", "tag"),
"#class" : paheal.PahealTagExtractor,
"#options" : {"metadata": True},
"#range" : "1",
"date" : "dt:2018-01-07 07:04:05",
"duration" : 0.0,
"extension" : "jpg",
"filename" : "2446128 - Ayane_Suzuki Idolmaster idolmaster_dearly_stars Zanzi",
"height" : 768,
"id" : 2446128,
"md5" : "b0ceda9d860df1d15b60293a7eb465c1",
"search_tags": "Ayane_Suzuki",
"size" : 205312,
"source" : "https://www.pixiv.net/member_illust.php?mode=medium&illust_id=19957280",
"tags" : "Ayane_Suzuki Idolmaster idolmaster_dearly_stars Zanzi",
"uploader" : "XXXname",
"width" : 1024,
},
{
"#url" : "https://rule34.paheal.net/post/view/481609",
"#category": ("shimmie2", "paheal", "post"),
"#class" : paheal.PahealPostExtractor,
"#pattern" : r"https://tulip\.paheal\.net/_images/bbdc1c33410c2cdce7556c7990be26b7/481609%20-%20Azumanga_Daioh%20inanimate%20Osaka%20Vuvuzela\.jpg",
"#sha1_content": "7b924bcf150b352ac75c9d281d061e174c851a11",
"date" : "dt:2010-06-17 15:40:23",
"extension": "jpg",
"file_url" : r"re:https://tulip.paheal.net/_images/bbdc1c33410c",
"filename" : "481609 - Azumanga_Daioh inanimate Osaka Vuvuzela",
"height" : 660,
"id" : 481609,
"md5" : "bbdc1c33410c2cdce7556c7990be26b7",
"size" : 157389,
"source" : "",
"tags" : "Azumanga_Daioh inanimate Osaka Vuvuzela",
"uploader" : "CaptainButtface",
"width" : 614,
},
{
"#url" : "https://rule34.paheal.net/post/view/488534",
"#category": ("shimmie2", "paheal", "post"),
"#class" : paheal.PahealPostExtractor,
"date" : "dt:2010-06-25 13:51:17",
"height" : 800,
"md5" : "b39edfe455a0381110c710d6ed2ef57d",
"size" : 758989,
"source" : "http://www.furaffinity.net/view/4057821/",
"tags" : "inanimate thelost-dragon Vuvuzela",
"uploader": "leacheate_soup",
"width" : 1200,
},
{
"#url" : "https://rule34.paheal.net/post/view/3864982",
"#comment" : "video",
"#category": ("shimmie2", "paheal", "post"),
"#class" : paheal.PahealPostExtractor,
"#pattern" : r"https://[\w]+\.paheal\.net/_images/7629fc0ff77e32637dde5bf4f992b2cb/3864982%20-%20animated%20Metal_Gear%20Metal_Gear_Solid_V%20Quiet%20Vg_erotica%20webm\.webm",
"date" : "dt:2020-09-06 01:59:03",
"duration" : 30.0,
"extension": "webm",
"height" : 2500,
"id" : 3864982,
"md5" : "7629fc0ff77e32637dde5bf4f992b2cb",
"size" : 18454938,
"source" : "https://twitter.com/VG_Worklog/status/1302407696294055936",
"tags" : "animated Metal_Gear Metal_Gear_Solid_V Quiet Vg_erotica webm",
"uploader" : "justausername",
"width" : 1768,
},
)