fix
This commit is contained in:
parent
ca7efc1d46
commit
c00db81f28
@ -55,7 +55,6 @@ class htmlUtils:
|
|||||||
try:
|
try:
|
||||||
print(f"请求地址:{curl}")
|
print(f"请求地址:{curl}")
|
||||||
res = s.get(curl,stream=True, headers=cls.headers, timeout=180)
|
res = s.get(curl,stream=True, headers=cls.headers, timeout=180)
|
||||||
time.sleep(0.3)
|
|
||||||
if type == "bytes":
|
if type == "bytes":
|
||||||
url_text = res
|
url_text = res
|
||||||
if type == "json":
|
if type == "json":
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user