diff --git a/gallery_dl/extractor/hentaicosplays.py b/gallery_dl/extractor/hentaicosplays.py index 3974b5f9..7dd047c6 100644 --- a/gallery_dl/extractor/hentaicosplays.py +++ b/gallery_dl/extractor/hentaicosplays.py @@ -28,7 +28,8 @@ class HentaicosplaysGalleryExtractor(GalleryExtractor): "keyword": { "count": 18, "site": "hentai-cosplays", - "title": str, + "slug": "---devilism--tide-kurihara-", + "title": "艦 こ れ-devilism の tide Kurihara 憂", }, }), ("https://fr.porn-images-xxx.com/image/enako-enako-24/", { @@ -52,15 +53,16 @@ class HentaicosplaysGalleryExtractor(GalleryExtractor): ) def __init__(self, match): - root, self.site, path = match.groups() + root, self.site, self.slug = match.groups() self.root = text.ensure_http_scheme(root) - url = "{}/story/{}/".format(self.root, path) + url = "{}/story/{}/".format(self.root, self.slug) GalleryExtractor.__init__(self, match, url) def metadata(self, page): title = text.extract(page, "