From: Fredrik Tolf Date: Thu, 31 Dec 2015 03:54:01 +0000 (+0100) Subject: Stabilize Batoto paging mode. X-Git-Url: http://dolda2000.com/gitweb/?p=automanga.git;a=commitdiff_plain;h=ebc277d35244dd94829cd19c3aadd09cc340384b Stabilize Batoto paging mode. It may arguably be better to use the continuous mode, though. --- diff --git a/manga/batoto.py b/manga/batoto.py index b626dc1..4343a05 100644 --- a/manga/batoto.py +++ b/manga/batoto.py @@ -38,7 +38,9 @@ def nextel(el): return el def fetchreader(lib, readerid, page): - pg = soupify(lib.sess.fetch(lib.base + "areader?" + urllib.parse.urlencode({"id": readerid, "p": str(page)}), + pg = soupify(lib.sess.fetch(lib.base + "areader?" + urllib.parse.urlencode({"id": readerid, + "p": str(page), + "supress_webtoon": "t"}), headers={"Referer": "http://bato.to/reader"})) return pg