+
+ def byid(self, id):
+ url = self.base + ("manga/%s/" % id)
+ page = soup(htcache.fetch(url))
+ if page.find("div", id="title") is None:
+ # Assume we got the search page
+ raise KeyError(id)
+ name = page.find("div", id="series_info").find("div", attrs={"class": "cover"}).img["alt"]
+ return manga(self, id, name, url)
+
+ def __iter__(self):
+ raise NotImplementedError("mangafox iterator")