kopia lustrzana https://github.com/bellingcat/auto-archiver
Switch to headless Firefox
rodzic
6ebce974f0
commit
c6b159905b
|
@ -70,7 +70,9 @@ def process_sheet(sheet, header=1):
|
|||
secret=os.getenv('DO_SPACES_SECRET')
|
||||
)
|
||||
|
||||
driver = webdriver.Firefox()
|
||||
options = webdriver.FirefoxOptions()
|
||||
options.headless = True
|
||||
driver = webdriver.Firefox(options=options)
|
||||
driver.set_window_size(1400, 2000)
|
||||
|
||||
# loop through worksheets to check
|
||||
|
|
Ładowanie…
Reference in New Issue