if url[-7:] != "/1.html":
raise Exception("parse error: unexpected chapter URL for %r: %s" % (self, url))
vol.ch.append(chapter(vol, vol.stack + [(vol, o)], chid, name, url[:-6]))
if url[-7:] != "/1.html":
raise Exception("parse error: unexpected chapter URL for %r: %s" % (self, url))
vol.ch.append(chapter(vol, vol.stack + [(vol, o)], chid, name, url[:-6]))