diff --git a/utils/HtmlUtils.py b/utils/HtmlUtils.py
index 759ee5a..b85078c 100644
--- a/utils/HtmlUtils.py
+++ b/utils/HtmlUtils.py
@@ -65,6 +65,8 @@ class htmlUtils:
url_text = cls.getPathSaveHtml(curl,"read")
except:
url_text = None
+ if url_text != None and not update:
+ return html.fromstring(url_text)
while url_text == None or update:
if count <= 5:
try:
@@ -95,7 +97,7 @@ class htmlUtils:
ntfy.sendMsg(f"fail 请求失败:{curl}")
exit()
break
- return html.fromstring(url_text)
+ return url_text
@classmethod
def getBytes(cls, url):