1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-23 03:02:50 +01:00

[exhentai] unescape title

This commit is contained in:
Mike Fährmann 2016-08-31 10:20:46 +02:00
parent 95097fac00
commit 49359d375c
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -83,6 +83,8 @@ class ExhentaiExtractor(Extractor):
if pos != -1:
data["language"] = data["language"][:pos]
data["lang"] = iso639_1.language_to_code(data["language"])
data["title"] = text.unescape(data["title"])
data["title_jp"] = text.unescape(data["title_jp"])
url = "https://exhentai.org/s/" + data["url"]
del data["url"]
return data, url