From 2052e7ce59eadaa705a7bdfd803858b433585103 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sun, 18 Jun 2023 20:01:33 +0200 Subject: [PATCH] [hentaifox] fix titles containing '@' (#4201) --- gallery_dl/extractor/hentaifox.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gallery_dl/extractor/hentaifox.py b/gallery_dl/extractor/hentaifox.py index ed8576f1..a1e681d1 100644 --- a/gallery_dl/extractor/hentaifox.py +++ b/gallery_dl/extractor/hentaifox.py @@ -45,6 +45,15 @@ class HentaifoxGalleryExtractor(HentaifoxBase, GalleryExtractor): "type": "doujinshi", }, }), + # email-protected title (#4201) + ("https://hentaifox.com/gallery/35261/", { + "keyword": { + "gallery_id": 35261, + "title": "ManageM@ster!", + "artist": ["haritama hiroki"], + "group": ["studio n.ball"], + }, + }), ) def __init__(self, match): @@ -65,13 +74,14 @@ class HentaifoxGalleryExtractor(HentaifoxBase, GalleryExtractor): return { "gallery_id": text.parse_int(self.gallery_id), - "title" : text.unescape(extr("

", "

")), "parody" : split(extr(">Parodies:" , "")), "characters": split(extr(">Characters:", "")), "tags" : split(extr(">Tags:" , "")), "artist" : split(extr(">Artists:" , "")), "group" : split(extr(">Groups:" , "")), "type" : text.remove_html(extr(">Category:", "