def get_chapter_url(self, data): if 'chapter_id' in data: return Manga.get_chapter_url(self, data) else: d = data d.update({'baseurl': self.baseurl}) return self.NEW_CHAPTER_URL % d
def get_chapter_url(self, data): if 'volume' in data: return Manga.get_chapter_url(self, data) d = data d.update({'baseurl': self.baseurl}) return self.NV_CHAPTER_URL % d