def __init__(self, url):
self.bk = urllib.urlopen(url)
self.ctype = self.bk.info()["Content-Type"]
+ self.clen = int(self.bk.info()["Content-Length"])
+
+ def fileno(self):
+ return self.bk.fileno()
def close(self):
self.bk.close()
class library(lib.library):
def __init__(self):
- self.base = "http://www.mangafox.com/"
+ self.base = "http://mangafox.me/"
def alphapage(self, pno):
page = soup(htcache.fetch(self.base + ("directory/%i.htm?az" % pno)))