fix
This commit is contained in:
parent
7ba4b82acd
commit
d56ddc9342
@ -123,7 +123,7 @@ class htmlUtils:
|
|||||||
except:
|
except:
|
||||||
ntfy.sendMsg(f"html_cache更新失败 {html_cache_path}")
|
ntfy.sendMsg(f"html_cache更新失败 {html_cache_path}")
|
||||||
#获取html实体数据
|
#获取html实体数据
|
||||||
et = cls.getHTML(url,update=update)
|
et = cls.getHTML(url)
|
||||||
if et == None:
|
if et == None:
|
||||||
return None
|
return None
|
||||||
#比对数据
|
#比对数据
|
||||||
|
|||||||
@ -26,8 +26,9 @@ class comicEntity:
|
|||||||
book_name = book.get("name")
|
book_name = book.get("name")
|
||||||
updated = book.get("updatedAt")
|
updated = book.get("updatedAt")
|
||||||
comic_href = base_url+"/books/"+book_id
|
comic_href = base_url+"/books/"+book_id
|
||||||
href = baseComic.downladsComcis(book_name=book_name,comic_href=comic_href,updated=updated)
|
href = baseComic.downladsComcis(book_name=book_name,comic_href=comic_href,updated=updated)
|
||||||
cls.oneComic(href)
|
cls.oneComic(href)
|
||||||
|
comicInfo.updateComicDate()
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def oneComic(cls,c_url,sleep=None):
|
def oneComic(cls,c_url,sleep=None):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user