1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 18:53:21 +01:00
gallery-dl/test/results/itaku.py

82 lines
2.5 KiB
Python
Raw Normal View History

2023-09-10 14:45:01 +02:00
# -*- 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 itaku
__tests__ = (
{
"#url" : "https://itaku.ee/profile/piku/gallery",
"#category": ("", "itaku", "gallery"),
"#class" : itaku.ItakuGalleryExtractor,
"#pattern" : r"https://itaku\.ee/api/media/gallery_imgs/[^/?#]+\.(jpg|png|gif)",
2023-09-10 14:45:01 +02:00
"#range" : "1-10",
"#count" : 10,
},
{
"#url" : "https://itaku.ee/images/100471",
"#category": ("", "itaku", "image"),
"#class" : itaku.ItakuImageExtractor,
"#urls" : "https://itaku.ee/api/media/gallery_imgs/220504_oUNIAFT.png",
2023-09-10 14:45:01 +02:00
"already_pinned" : None,
"blacklisted" : {
"blacklisted_tags": [],
"is_blacklisted" : False,
},
"can_reshare" : True,
"date" : "dt:2022-05-05 19:21:17",
"date_added" : "2022-05-05T19:21:17.674148Z",
"date_edited" : "2022-05-25T14:37:46.220612Z",
"description" : "sketch from drawpile",
"extension" : "png",
"filename" : "220504_oUNIAFT",
"hotness_score" : float,
"id" : 100471,
"image" : "https://itaku.ee/api/media/gallery_imgs/220504_oUNIAFT.png",
"image_xl" : "https://itaku.ee/api/media/gallery_imgs/220504_oUNIAFT/lg.jpg",
2023-09-10 14:45:01 +02:00
"liked_by_you" : False,
"maturity_rating" : "SFW",
"num_comments" : int,
"num_likes" : int,
"num_reshares" : int,
"obj_tags" : 136446,
"owner" : 16775,
"owner_avatar" : "https://itaku.ee/api/media/profile_pics/av2022r_vKYVywc/md.jpg",
2023-09-10 14:45:01 +02:00
"owner_displayname": "Piku",
"owner_username" : "piku",
"reshared_by_you" : False,
"sections" : ["Fanart/Miku"],
"tags" : list,
"tags_character" : ["hatsune_miku"],
"tags_copyright" : ["vocaloid"],
"tags_general": [
2023-09-10 14:45:01 +02:00
"twintails",
"green_hair",
"flag",
2024-01-20 18:02:36 +01:00
"gloves",
"green_eyes",
"female",
2023-09-10 14:45:01 +02:00
"racing_miku",
],
"title" : "Racing Miku 2022 Ver.",
"too_mature" : False,
"uncompressed_filesize": "0.62",
"video" : None,
"visibility" : "PUBLIC",
},
{
"#url" : "https://itaku.ee/images/19465",
"#comment" : "video",
"#category": ("", "itaku", "image"),
"#class" : itaku.ItakuImageExtractor,
"#urls" : "https://itaku.ee/api/media/gallery_vids/sleepy_af_OY5GHWw.mp4",
2023-09-10 14:45:01 +02:00
},
)