Update main.py

优化检查
This commit is contained in:
JasonYANG17 2024-02-29 15:28:06 +08:00 committed by GitHub
parent c88eb70e04
commit 964a680d9d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -89,7 +89,7 @@ while True:
requests.get(url) # 不使用请注释 requests.get(url) # 不使用请注释
continue # 返回到查找进行中的签到循环 continue # 返回到查找进行中的签到循环
else: else:
print("未找到 <h1> 标签") print("未找到 <h1> 标签,可能存在错误")
else: else:
print("请求失败,状态码:", response.status_code) print("请求失败,状态码:", response.status_code)
else: else: