This commit is contained in:
caiwx86 2023-01-23 10:07:39 +08:00
parent 20b5596e03
commit d59e0cf5f7

View File

@ -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)