def chapters(self): ret = [self.site.Chapter(self, Util.unescape(match.group('title') or ''), match.group('url')) for match in self.CHAPTER_FROM_SOURCE_REGEX.finditer(self.source)] ret.reverse() return ret
def chapters(self): ret = [self.site.Chapter(self, Util.unescape(match.group('title') or ''), self.TEMPLATE_URL.format(path=match.group('path'))) for match in self.CHAPTER_FROM_SOURCE_REGEX.finditer(self.source)] return ret