fix
This commit is contained in:
parent
6e88c7277d
commit
de988e4132
@ -23,8 +23,7 @@ class baseComic:
|
||||
comics = ListComic.getListComicsLinksUpdateAt()
|
||||
if comics == None: return False
|
||||
(book_name,comic_href,updated) = [comics[0],comics[1],comics[2]]
|
||||
cls.updateOneComic(book_name,comic_href,updated,chapters_xpath)
|
||||
return True
|
||||
return cls.updateOneComic(book_name,comic_href,updated,chapters_xpath)
|
||||
|
||||
@classmethod
|
||||
def updateOneComic(cls,book_name,comic_href,update_at,chapters_xpath):
|
||||
@ -37,8 +36,10 @@ class baseComic:
|
||||
if not ciUtils.isUpdateComic():
|
||||
ntfy.sendMsg(f"开始下载 漫画:{book_name}",alert=True)
|
||||
Comic.setCurrentDownLink(comic_href)
|
||||
return True
|
||||
else:
|
||||
ntfy.sendMsg(f"{book_name} 已是最新",alert=True)
|
||||
return False
|
||||
#chapters = htmlUtils.xpathData(chapters_xpath,url=comic_href,update=False)
|
||||
#chapter_index = 1
|
||||
#for chapter in chapters:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user