feat: 优化支付码队列与支付超时
This commit is contained in:
@@ -1277,7 +1277,7 @@ class HuyaHttpClient:
|
||||
},
|
||||
)
|
||||
try:
|
||||
with self._urlopen(req, timeout=15) as resp:
|
||||
with self._urlopen(req, timeout=30) as resp:
|
||||
resp_data = resp.read()
|
||||
if resp_data[:2] == b"\x1f\x8b":
|
||||
import gzip
|
||||
|
||||
Reference in New Issue
Block a user