[nana] fix 'keyword' tests

This commit is contained in:
Mike Fährmann
2023-04-21 15:07:06 +02:00
parent e07ceb90b3
commit 8586ee81be

View File

@@ -20,19 +20,23 @@ class NanaGalleryExtractor(GalleryExtractor):
"059f7de55a4297413bfbd432ce7d6e724dd42bae"), { "059f7de55a4297413bfbd432ce7d6e724dd42bae"), {
"pattern": r"https://nana\.my\.id/reader/" "pattern": r"https://nana\.my\.id/reader/"
r"\w+/image/page\?path=.*\.\w+", r"\w+/image/page\?path=.*\.\w+",
"title" : "Everybody Loves Shion", "keyword": {
"artist" : "fuzui", "title" : "Everybody Loves Shion",
"tags" : list, "artist": "fuzui",
"count" : 29, "tags" : list,
"count" : 29,
},
}), }),
(("https://nana.my.id/reader/" (("https://nana.my.id/reader/"
"77c8712b67013e427923573379f5bafcc0c72e46"), { "77c8712b67013e427923573379f5bafcc0c72e46"), {
"pattern": r"https://nana\.my\.id/reader/" "pattern": r"https://nana\.my\.id/reader/"
r"\w+/image/page\?path=.*\.\w+", r"\w+/image/page\?path=.*\.\w+",
"title" : "Lovey-Dovey With an Otaku-Friendly Gyaru", "keyword": {
"artist" : "Sueyuu", "title" : "Lovey-Dovey With an Otaku-Friendly Gyaru",
"tags" : ["Sueyuu"], "artist": "Sueyuu",
"count" : 58, "tags" : ["Sueyuu"],
"count" : 58,
},
}), }),
) )