From ebc277d35244dd94829cd19c3aadd09cc340384b Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Thu, 31 Dec 2015 04:54:01 +0100 Subject: [PATCH] Stabilize Batoto paging mode. It may arguably be better to use the continuous mode, though. --- manga/batoto.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.11.0