fix ntfy
This commit is contained in:
1 parent
99b2dabd1d
commit
cdc3f2d8c6
1 file changed
+1
-1
+1
-1
@@ -28,7 +28,7 @@ class htmlUtils:
|
|||||||
while url_text == None:
|
while url_text == None:
|
||||||
if count <= 10:
|
if count <= 10:
|
||||||
try:
|
try:
|
||||||
ntfy.sendMsg(f"请求地址:{curl}")
|
print(f"请求地址:{curl}")
|
||||||
res = s.get(curl,stream=True, headers=cls.headers, timeout=50)
|
res = s.get(curl,stream=True, headers=cls.headers, timeout=50)
|
||||||
if type == "bytes":
|
if type == "bytes":
|
||||||
url_text = res
|
url_text = res
|
||||||
|
|||||||
Reference in new issue
Block a user