修复ysc报错

This commit is contained in:
CMHopeSunshine 2022-12-07 14:16:45 +08:00
parent 580ca750f5
commit 10c98e6ba4

View File

@ -96,6 +96,7 @@ class aiorequests:
headers=headers, headers=headers,
params=params, params=params,
timeout=timeout, timeout=timeout,
follow_redirects=True,
**kwargs) **kwargs)
# 不保存安柏计划的问号图标 # 不保存安柏计划的问号图标
if resp.headers.get('etag') == 'W/"6363798a-13c7"' or resp.headers.get( if resp.headers.get('etag') == 'W/"6363798a-13c7"' or resp.headers.get(
@ -111,6 +112,7 @@ class aiorequests:
headers=headers, headers=headers,
params=params, params=params,
timeout=timeout, timeout=timeout,
follow_redirects=True,
**kwargs) **kwargs)
if resp.headers.get('etag') == 'W/"6363798a-13c7"' or resp.headers.get( if resp.headers.get('etag') == 'W/"6363798a-13c7"' or resp.headers.get(
'content-md5') == 'JeG5b/z8SpViMmO/E9eayA==': 'content-md5') == 'JeG5b/z8SpViMmO/E9eayA==':