This commit is contained in:
cwx committed 2023-04-05 22:46:33 +08:00
1 parent 89c7443bcb
commit ba57978ab2
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ class comicEntity:
def downladsComcis(cls,url):
str_xpath='//script[@id="__NEXT_DATA__"]/text()'
str_exec="props.pageProps.books"
books = htmlUtils.setXpathData(url,xpath=str_xpath,num=0,exec=str_exec)
books = htmlUtils.setXpathData(url,xpath=str_xpath,num=0,exec=str_exec,update=True)
ListComic.setListComicName(books,"name")
ListComic.setListComicChapterLink(books,"id",start_add=pathStr.getBaseUrl(url)+"/books/")
ListComic.setListComicUpdateAt(books,"updatedAt")