diff --git a/utils/HtmlUtils.py b/utils/HtmlUtils.py index 3ee9885..f02fb24 100644 --- a/utils/HtmlUtils.py +++ b/utils/HtmlUtils.py @@ -123,7 +123,7 @@ class htmlUtils: except: ntfy.sendMsg(f"html_cache更新失败 {html_cache_path}") #获取html实体数据 - et = cls.getHTML(url,update=update) + et = cls.getHTML(url) if et == None: return None #比对数据 diff --git a/utils/entity/RouMan.py b/utils/entity/RouMan.py index 0ce01eb..77bd1fc 100644 --- a/utils/entity/RouMan.py +++ b/utils/entity/RouMan.py @@ -26,8 +26,9 @@ class comicEntity: book_name = book.get("name") updated = book.get("updatedAt") 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) + comicInfo.updateComicDate() @classmethod def oneComic(cls,c_url,sleep=None):