From e2ae32640d97408b4212d1d19f4a061273ae62ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=80=E6=99=AE=E4=BB=A5=E5=B0=94?= Date: Thu, 4 Apr 2024 17:42:23 +0800 Subject: [PATCH] :pencil2:Update browser.py --- twitter_user_tweet_crawler/browser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twitter_user_tweet_crawler/browser.py b/twitter_user_tweet_crawler/browser.py index c240993..e3cb2d0 100644 --- a/twitter_user_tweet_crawler/browser.py +++ b/twitter_user_tweet_crawler/browser.py @@ -9,7 +9,7 @@ def get_browser(headless: bool = False) -> WebDriver: chrome_options.add_argument('--disable-remote-fonts') chrome_options.add_argument('--disable-gpu') chrome_options.add_argument('--no-sandbox') - chrome_options.add_argument('--window-size=1200x600"') + chrome_options.add_argument('--window-size=1200x600') if headless: chrome_options.add_argument('--headless') driver = webdriver.Chrome(options=chrome_options)