[tmohentai] 'categories' -> 'genres'

quite likely that the site meant 'genres' by "Genders"
This commit is contained in:
Mike Fährmann
2023-11-21 22:11:43 +01:00
parent 0f3a068e3d
commit 725c8dd55a
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ class TmohentaiGalleryExtractor(GalleryExtractor):
"title" : text.unescape(extr("<h3>", "<").strip()), "title" : text.unescape(extr("<h3>", "<").strip()),
"artists" : text.split_html(extr( "artists" : text.split_html(extr(
"<label>Artists and Artists Groups</label>", "</ul>")), "<label>Artists and Artists Groups</label>", "</ul>")),
"categories": text.split_html(extr( "genres" : text.split_html(extr(
"<label>Genders</label>", "</ul>")), "<label>Genders</label>", "</ul>")),
"tags" : text.split_html(extr( "tags" : text.split_html(extr(
"<label>Tags</label>", "</ul>")), "<label>Tags</label>", "</ul>")),

View File

@@ -16,7 +16,7 @@ __tests__ = (
"#count" : 46, "#count" : 46,
"artists" : ["Andoryu"], "artists" : ["Andoryu"],
"categories": [ "genres" : [
"Big Breasts", "Big Breasts",
"BlowJob", "BlowJob",
"Cheating", "Cheating",