From: Fredrik Tolf Date: Wed, 30 Dec 2015 15:19:39 +0000 (+0100) Subject: Merge branch 'python3' of wolf:src/automanga into python3 X-Git-Url: http://dolda2000.com/gitweb/?p=automanga.git;a=commitdiff_plain;h=83f554af8f3919bc668f71a05ed54eebfc2866c7;hp=81be6921788ee49cf63c91e4de3e6375b10654f6 Merge branch 'python3' of wolf:src/automanga into python3 --- diff --git a/manga/mangafox.py b/manga/mangafox.py index 0e8c2e9..cb5e655 100644 --- a/manga/mangafox.py +++ b/manga/mangafox.py @@ -121,7 +121,7 @@ class manga(lib.manga): raise Exception("parse error: weird volume list for %r" % self) for o, ch in enumerate(reversed(cls.findAll("li"))): n = ch.div.h3 or ch.div.h4 - name = n.a.string + chid = name = n.a.string for span in ch("span"): try: if "title" in span["class"]: @@ -135,7 +135,7 @@ class manga(lib.manga): pass else: raise Exception("parse error: unexpected chapter URL for %r: %s" % (self, url)) - vol.ch.append(chapter(vol, vol.stack + [(vol, o)], name, name, url)) + vol.ch.append(chapter(vol, vol.stack + [(vol, o)], chid, name, url)) cvol.append(vol) self.cvol = cvol return self.cvol