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

@ -46,7 +46,7 @@ class HDArea(_ISiteSigninHandler):
'action': 'sign_in'
}
html_res = RequestUtils(cookies=site_cookie,
headers=ua,
ua=ua,
proxies=proxies
).post_res(url="https://www.hdarea.co/sign_in.php", data=data)
if not html_res or html_res.status_code != 200: