This commit is contained in:
piair 2022-04-04 16:19:56 +02:00
parent a207ef22f9
commit 9ff2d8a864

4
V4.py
View File

@ -85,9 +85,7 @@ def FirefoxMobile(Headless = Headless):
def FirefoxPC(Headless = Headless): def FirefoxPC(Headless = Headless):
PC_USER_AGENT = ('Mozilla/5.0 (Windows NT 10.0; Win64; x64) ' PC_USER_AGENT = ('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46')
'AppleWebKit/537.36 (KHTML, like Gecko) '
'Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134')
options = Options() options = Options()
options.set_preference("general.useragent.override", PC_USER_AGENT) options.set_preference("general.useragent.override", PC_USER_AGENT)