diff --git a/gallery_dl/extractor/myhentaigallery.py b/gallery_dl/extractor/myhentaigallery.py index 3dbd5fc8..5dc4cb60 100644 --- a/gallery_dl/extractor/myhentaigallery.py +++ b/gallery_dl/extractor/myhentaigallery.py @@ -44,7 +44,10 @@ class MyhentaigalleryGalleryExtractor(GalleryExtractor): extr = text.extract_from(page) split = text.split_html - title = extr('
\n

', '

') + title = extr('
\n', '').lstrip() + if title.startswith("

"): + title = title[len("

"):] + if not title: raise exception.NotFoundError("gallery")