fix
This commit is contained in:
parent
a0d5fbfa1d
commit
9105f9088e
@ -2,6 +2,7 @@ from common.ComicInfo import ComicInfo as ci
|
||||
from common.ComicInfo import Comic
|
||||
from common.ComicInfo import ComicInfoUtils as ciUtils
|
||||
from common.Constant import pathStr
|
||||
from common.Constant import ComicPath
|
||||
from utils.FileUtils import imageUtils
|
||||
from utils.NetUtils import htmlUtils
|
||||
from utils.ComicUtils import ntfy
|
||||
@ -11,7 +12,7 @@ class DomainDown:
|
||||
def comicChapterDownload(cls,chapter_url):
|
||||
str_xpath='//script[@id="__NEXT_DATA__"]/text()'
|
||||
str_exec="props.pageProps"
|
||||
book = htmlUtils.setXpathData(chapter_url,xpath=str_xpath,num=0,exec=str_exec)
|
||||
book = htmlUtils.setXpathData(chapter_url,xpath=str_xpath,num=0,exec=str_exec,update=ComicPath.IS_UPDATE_COMIC)
|
||||
Comic.setComicName(book,"bookName")
|
||||
Comic.setChapterName(book,"chapterName")
|
||||
#alias = x.get("alias")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user