fix
This commit is contained in:
1 parent
89c7443bcb
commit
ba57978ab2
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user