diff --git a/gallery_dl/extractor/myhentaigallery.py b/gallery_dl/extractor/myhentaigallery.py index 5e8179ec..f09507ce 100644 --- a/gallery_dl/extractor/myhentaigallery.py +++ b/gallery_dl/extractor/myhentaigallery.py @@ -33,7 +33,7 @@ class MyhentaigalleryGalleryExtractor(GalleryExtractor): title = extr('
\n', '').lstrip() if title.startswith("

"): - title = title[len("

"):] + title = title[4:] if not title: raise exception.NotFoundError("gallery") @@ -41,10 +41,10 @@ class MyhentaigalleryGalleryExtractor(GalleryExtractor): return { "title" : text.unescape(title), "gallery_id": text.parse_int(self.gallery_id), - "tags" : split(extr('
\nCategories:', '
')), - "artist" : split(extr('
\nArtists:' , '
')), - "group" : split(extr('
\nGroups:' , '
')), - "parodies" : split(extr('
\nParodies:' , '
')), + "tags" : split(extr(" Categories:", "

")), + "artist" : split(extr(" Artists:" , "")), + "group" : split(extr(" Groups:" , "")), + "parodies" : split(extr(" Parodies:" , "")), } def images(self, page):