diff --git a/entity/BaoZi.py b/entity/BaoZi.py index d9e9cdb..06f0f69 100644 --- a/entity/BaoZi.py +++ b/entity/BaoZi.py @@ -47,7 +47,9 @@ class comicEntity: chapters = htmlUtils.xpathData('//div[@class="chapter-content-listing"]//a[@class="wp-manga-chapterlist"]/text()',not_eq=' ',url=chapters_url) chapter_href = htmlUtils.xpathData('//div[@class="chapter-content-listing"]//a[@class="wp-manga-chapterlist"]/@href',url=chapters_url) #chapter_href = htmlUtils.xpathData('//div[@class="chapter-content-listing"]//a[@class="wp-manga-chapter"]/@href',url=c_url,next_xpath='//div[@class="chapter-content-listing"]//a[@class="c-chapter-readmore"]/@href') - + sort_chapters = chapters[::-1] + sort_chapter_href = chapter_href[::-1] + baseComic.oneComic(url=c_url,title=title,author=author, - icon=icon,tags=tags,dep=dep,chapters=chapters,chapter_href=chapter_href, + icon=icon,tags=tags,dep=dep,chapters=sort_chapters,chapter_href=sort_chapter_href, alias=None) \ No newline at end of file