dis update
This commit is contained in:
parent
0febf88d0c
commit
9723c6b994
@ -15,7 +15,7 @@ class comicCommon:
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def comicChapterDownload(cls,chapter_url):
|
def comicChapterDownload(cls,chapter_url):
|
||||||
x = cls.baseComicData(chapter_url,update=True)
|
x = cls.baseComicData(chapter_url)
|
||||||
book_name = x.get("bookName")
|
book_name = x.get("bookName")
|
||||||
chapter_name = x.get("chapterName")
|
chapter_name = x.get("chapterName")
|
||||||
#fileUtils.saveConfComicChapterInfo(chapterName,x,bookName)
|
#fileUtils.saveConfComicChapterInfo(chapterName,x,bookName)
|
||||||
@ -34,7 +34,7 @@ class comicCommon:
|
|||||||
base_url = comicInfo.getBaseUrl(chapter_url)
|
base_url = comicInfo.getBaseUrl(chapter_url)
|
||||||
chapter_api_url = base_url+chapter_api_path
|
chapter_api_url = base_url+chapter_api_path
|
||||||
ntfy.sendMsg(f"chapterApiUrl= {chapter_api_url}",alert=False)
|
ntfy.sendMsg(f"chapterApiUrl= {chapter_api_url}",alert=False)
|
||||||
data = htmlUtils.getJSON(chapter_api_url,update=True)
|
data = htmlUtils.getJSON(chapter_api_url)
|
||||||
if data != None:
|
if data != None:
|
||||||
data = data.get("chapter")
|
data = data.get("chapter")
|
||||||
chapter_name = data.get("name")
|
chapter_name = data.get("name")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user