fix RequestUtils ua

This commit is contained in:
jxxghp
2023-06-17 09:54:58 +08:00
parent 1a74a32384
commit 34e5cce7dc
10 changed files with 20 additions and 17 deletions

View File

@ -105,7 +105,7 @@ class U2(_ISiteSigninHandler):
}
# 签到
sign_res = RequestUtils(cookies=site_cookie,
headers=ua,
ua=ua,
proxies=settings.PROXY if proxy else None
).post_res(url="https://u2.dmhy.org/showup.php?action=show",
data=data)