summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/mangafox.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-01-28 19:12:09 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2025-01-28 19:12:09 -0500
commita26df18796ff4e506b16bf32fcec9336233b9e2e (patch)
tree876512f59831cd670a90a0bc92bc85def6ea3d82 /gallery_dl/extractor/mangafox.py
parent0532a387ef5b7fcb4507a9b094dca37a5f635fe1 (diff)
New upstream version 1.28.5.upstream/1.28.5
Diffstat (limited to 'gallery_dl/extractor/mangafox.py')
-rw-r--r--gallery_dl/extractor/mangafox.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gallery_dl/extractor/mangafox.py b/gallery_dl/extractor/mangafox.py
index d590753..827756a 100644
--- a/gallery_dl/extractor/mangafox.py
+++ b/gallery_dl/extractor/mangafox.py
@@ -30,7 +30,7 @@ class MangafoxChapterExtractor(ChapterExtractor):
def metadata(self, page):
manga, pos = text.extract(page, "<title>", "</title>")
count, pos = text.extract(
- page, ">", "<", page.find("</select>", pos) - 20)
+ page, ">", "<", page.find("</select>", pos) - 40)
sid , pos = text.extract(page, "var series_id =", ";", pos)
cid , pos = text.extract(page, "var chapter_id =", ";", pos)
@@ -49,9 +49,9 @@ class MangafoxChapterExtractor(ChapterExtractor):
pnum = 1
while True:
url, pos = text.extract(page, '<img src="', '"')
- yield text.ensure_http_scheme(url), None
+ yield text.ensure_http_scheme(text.unescape(url)), None
url, pos = text.extract(page, ' src="', '"', pos)
- yield text.ensure_http_scheme(url), None
+ yield text.ensure_http_scheme(text.unescape(url)), None
pnum += 2
page = self.request("{}/{}.html".format(self.urlbase, pnum)).text