From f96b068dcd48f4821e2263fcd7fb937e839add51 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Thu, 31 Dec 2015 02:29:11 +0100 Subject: [PATCH] Fixed Batoto search. --- manga/batoto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manga/batoto.py b/manga/batoto.py index 51cc3c8..a7a2108 100644 --- a/manga/batoto.py +++ b/manga/batoto.py @@ -307,7 +307,7 @@ class library(lib.library): while True: _pars = dict(pars) _pars["p"] = str(p) - resp = urllib.request.urlopen(self.base + "search?" + urllib.parse.urlencode(_pars).encode("ascii")) + resp = urllib.request.urlopen(self.base + "search?" + urllib.parse.urlencode(_pars)) try: page = soupify(resp.read()) finally: -- 2.11.0