new user agent

This commit is contained in:
piair 2022-06-28 12:27:22 +02:00
parent 7da5bf2a80
commit 590ac8885e

11
V4.py
View File

@ -105,13 +105,14 @@ def FirefoxDriver(mobile=False, Headless=Headless):
setup_proxy(proxy_adress,proxy_port) setup_proxy(proxy_adress,proxy_port)
PC_USER_AGENT = ( PC_USER_AGENT = (
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) " "Mozilla/5.0 (Windows NT 10.0; Win64; x64)"
"AppleWebKit/537.36 (KHTML, like Gecko) " "AppleWebKit/537.36 (KHTML, like Gecko)"
"Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134" "Chrome/103.0.0.0 Safari/537.36 Edg/103.0.1264.37"
) )
MOBILE_USER_AGENT = ( MOBILE_USER_AGENT = (
"Mozilla/5.0 (iPhone; CPU iPhone OS 14_8_1 like Mac OS X)" "Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X)"
"AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Mobile/15E148 Safari/604.1" "AppleWebKit/605.1.15 (KHTML, like Gecko)"
"CriOS/103.0.5060.63 Mobile/15E148 Safari/604.1"
) )
options = Options() options = Options()