fix: Fixed an issue with Tencent waf blocking

This commit is contained in:
luolayo 2024-11-11 00:47:51 +08:00
parent c4df5a3969
commit 77507d7ec0

View File

@ -63,8 +63,8 @@ headers = {
'sec-fetch-site': 'none',
'sec-fetch-user': '?1',
'upgrade-insecure-requests': '1',
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 '
'Safari/537.36 Edg/121.0.0.0',
# Temporarily fix waf issues
'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1 Safari/605.1.15',
}