mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 18:53:21 +01:00
[mangadex] fix relative page URLs
This commit is contained in:
parent
590c0b3ad5
commit
2af2bb7911
@ -101,6 +101,8 @@ class MangadexChapterExtractor(MangadexExtractor):
|
||||
def get_images(self):
|
||||
"""Return a list of all image URLs"""
|
||||
base = self.data["server"] + self.data["hash"] + "/"
|
||||
if base.startswith("/"):
|
||||
base = text.urljoin(self.root, base)
|
||||
return [base + page for page in self.data["page_array"]]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user