[tmohentai] 'categories' -> 'genres'
quite likely that the site meant 'genres' by "Genders"
This commit is contained in:
@@ -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>")),
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ __tests__ = (
|
|||||||
"#count" : 46,
|
"#count" : 46,
|
||||||
|
|
||||||
"artists" : ["Andoryu"],
|
"artists" : ["Andoryu"],
|
||||||
"categories": [
|
"genres" : [
|
||||||
"Big Breasts",
|
"Big Breasts",
|
||||||
"BlowJob",
|
"BlowJob",
|
||||||
"Cheating",
|
"Cheating",
|
||||||
|
|||||||
Reference in New Issue
Block a user