|
@@ -84,9 +84,10 @@ if __name__ == "__main__":
|
|
options = webdriver.ChromeOptions()
|
|
options = webdriver.ChromeOptions()
|
|
# options.add_argument("headless")
|
|
# options.add_argument("headless")
|
|
options.add_argument('--headless')
|
|
options.add_argument('--headless')
|
|
- options.add_argument(
|
|
|
|
- '--user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) '
|
|
|
|
- 'Chrome/111.0.0.0 Safari/537.36')
|
|
|
|
|
|
+ options.add_argument('--disable-gpu')
|
|
|
|
+ options.add_argument('--no-sandbox')
|
|
|
|
+ options.add_argument('--user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, '
|
|
|
|
+ 'like Gecko) Chrome/111.0.0.0 Safari/537.36')
|
|
options.add_argument(" window-size=1920,1080")
|
|
options.add_argument(" window-size=1920,1080")
|
|
# options.add_argument(" window-size=1920,1080")
|
|
# options.add_argument(" window-size=1920,1080")
|
|
s = Service(executable_path='/home/code/python/meeting_probabilities/chromedriver')
|
|
s = Service(executable_path='/home/code/python/meeting_probabilities/chromedriver')
|