From 185944f6fa94e178f6d55379ec71a2459970d063 Mon Sep 17 00:00:00 2001 From: caiwx86 Date: Mon, 23 Jan 2023 10:11:11 +0800 Subject: [PATCH] fix --- entity/BaoZi.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/entity/BaoZi.py b/entity/BaoZi.py index 06f0f69..dbfcc80 100644 --- a/entity/BaoZi.py +++ b/entity/BaoZi.py @@ -46,10 +46,7 @@ class comicEntity: chapters_url = htmlUtils.xpathData('//div[@class="chapter-content-listing"]//a[@class="c-chapter-readmore"]/@href',url=c_url,num=0) 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=sort_chapters,chapter_href=sort_chapter_href, + icon=icon,tags=tags,dep=dep,chapters=chapters,chapter_href=chapter_href, alias=None) \ No newline at end of file