path fixes
parent
6fcd053be7
commit
2aa3a7fda4
|
@ -38,7 +38,7 @@ def get_driver():
|
||||||
options.add_experimental_option('useAutomationExtension', False)
|
options.add_experimental_option('useAutomationExtension', False)
|
||||||
options.add_argument("user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36")
|
options.add_argument("user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36")
|
||||||
options.add_argument("--start-maximized")
|
options.add_argument("--start-maximized")
|
||||||
options.add_argument("user-data-dir=/home/ec2-user/keyword_ranking_crawler/chrome_path/")
|
options.add_argument("user-data-dir=chrome_path")
|
||||||
options.add_argument("profile-directory=Default")
|
options.add_argument("profile-directory=Default")
|
||||||
driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()), options=options)
|
driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()), options=options)
|
||||||
# Remove navigator.webdriver
|
# Remove navigator.webdriver
|
||||||
|
|
Loading…
Reference in New Issue