1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-25 12:12:34 +01:00

[batoto] adapt to https chapter URLs

This commit is contained in:
Mike Fährmann 2017-07-02 08:14:22 +02:00
parent 85696d0b3b
commit 34e6e1099e
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -66,7 +66,7 @@ class BatotoMangaExtractor(BatotoExtractor, MangaExtractor):
def chapters(self, page):
# TODO: filter by language / translator
needle = ('<td style="border-top:0;">\n '
'<a href="http://bato.to/reader#')
'<a href="https://bato.to/reader#')
return [self.root + "/reader#" + mangahash
for mangahash in text.extract_iter(page, needle, '"')]