hardware issue ?
This commit is contained in:
parent
a4fc2aafa1
commit
f6254b09ba
10
V4.py
10
V4.py
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python3
|
#!/usr/bin/python3.10
|
||||||
import asyncio
|
import asyncio
|
||||||
import configparser
|
import configparser
|
||||||
import os
|
import os
|
||||||
|
@ -86,10 +86,10 @@ 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) '
|
'AppleWebKit/537.36 (KHTML, like Gecko) '
|
||||||
# 'Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134')
|
'Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134')
|
||||||
#options.set_preference("general.useragent.override", PC_USER_AGENT)
|
options.set_preference("general.useragent.override", PC_USER_AGENT)
|
||||||
options = Options()
|
options = Options()
|
||||||
options.set_preference("browser.link.open_newwindow", 3)
|
options.set_preference("browser.link.open_newwindow", 3)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue