[zerochan] fix 'source' extraction

This commit is contained in:
Mike Fährmann
2024-07-23 09:34:44 +02:00
parent ae40c61c21
commit 1aadc29c5b
2 changed files with 43 additions and 2 deletions

View File

@@ -63,6 +63,7 @@ __tests__ = (
"Perth (Kantai Collection)",
],
"size" : 1975296,
"source" : "",
"tags" : [
"Mangaka:YeFan 葉凡",
"Game:Kantai Collection",
@@ -102,6 +103,7 @@ __tests__ = (
"Perth (Kantai Collection)",
],
"size" : 1975296,
"source" : "",
"tags" : [
"Mangaka:YeFan 葉凡",
"Game:Kantai Collection",
@@ -113,4 +115,43 @@ __tests__ = (
"width" : 1920,
},
{
"#url" : "https://www.zerochan.net/4233756",
"#category": ("booru", "zerochan", "image"),
"#class" : zerochan.ZerochanImageExtractor,
"#urls" : "https://static.zerochan.net/DRAGON.BALL.full.4233756.jpg",
"author" : "Raydash",
"date" : "dt:2024-07-23 00:10:51",
"extension": "jpg",
"file_url" : "https://static.zerochan.net/DRAGON.BALL.full.4233756.jpg",
"filename" : "DRAGON.BALL.full.4233756",
"height" : 1125,
"id" : 4233756,
"path" : [
"Toriyama Akira",
"DRAGON BALL",
],
"size" : 136192,
"source": "https://x.com/Raydash30/status/1766012730769862774",
"tags" : [
"Mangaka:Raydash",
"Series:DRAGON BALL",
"Series:DRAGON BALL Z",
"Character:Piccolo",
"Character:Son Gohan",
"Theme:Duo",
"Theme:Green Skin",
"Theme:Male",
"Theme:Male Focus",
"Theme:Two Males",
"Source:Fanart",
"Source:Fanart from X (Twitter)",
"Source:X (Twitter)",
],
"uploader" : "menotbug",
"width" : 750,
},
)