[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

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, '"')]