From 83fd6a8f4ae20440e41a6b75c66bd6c555a2843e Mon Sep 17 00:00:00 2001 From: saif Date: Tue, 12 Aug 2025 15:53:24 +0500 Subject: [PATCH] mnt on efs --- scrapper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scrapper.py b/scrapper.py index 5d90929..e165aa6 100644 --- a/scrapper.py +++ b/scrapper.py @@ -33,11 +33,11 @@ MAX_PAGE = 10 def get_driver(): options = Options() - options.add_argument("--headless") + #options.add_argument("--headless") options.add_argument("--disable-blink-features=AutomationControlled") # Removes automation flag options.add_experimental_option("excludeSwitches", ["enable-automation"]) options.add_experimental_option('useAutomationExtension', False) - options.add_argument("user-data-dir=/home/ec2-user/keyword_ranking_crawler/chrome_path") + options.add_argument("user-data-dir=/mnt/AmazonReports/chrome_profile") options.add_argument("profile-directory=Default") 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")