diff --git a/gallery_dl/extractor/mangatown.py b/gallery_dl/extractor/mangatown.py index ea762c8d..046135ac 100644 --- a/gallery_dl/extractor/mangatown.py +++ b/gallery_dl/extractor/mangatown.py @@ -26,7 +26,7 @@ class MangatownChapterExtractor(MangatownBase, ChapterExtractor): def __init__(self, match): self.part, self.volume, self.chapter = match.groups() - self.base = f"{self.root}/manga/{self.part}/" + self.base = self.root + self.part + "/" ChapterExtractor.__init__(self, match, self.base + "1.html") def metadata(self, page): @@ -55,9 +55,8 @@ class MangatownChapterExtractor(MangatownBase, ChapterExtractor): pnum = 1 while True: - url, pos = text.extract(page, 'id="image" src="', '"') - if not url: - url, pos = text.extract(page, '