From b9e4ac73f61b8e7d636ece7d593b51a0220363ec Mon Sep 17 00:00:00 2001 From: "shariar@raenabeauty.com" Date: Wed, 3 Apr 2024 12:38:05 +0400 Subject: [PATCH] added Hasaki crawler --- hasaki_crawler_engine/test_selenium.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hasaki_crawler_engine/test_selenium.py b/hasaki_crawler_engine/test_selenium.py index 876f9b0..81fc411 100644 --- a/hasaki_crawler_engine/test_selenium.py +++ b/hasaki_crawler_engine/test_selenium.py @@ -14,10 +14,10 @@ def get_raw_product_data_selenium(url): op = uc.ChromeOptions() op.add_argument(f"user-agent={random_mobile_ua}") - op.add_experimental_option("useAutomationExtension", False) - op.add_argument('--no-sandbox') - op.add_argument('--disable-notifications') - op.add_argument("--lang=en-GB") + #op.add_experimental_option("useAutomationExtension", False) + #op.add_argument('--no-sandbox') + #op.add_argument('--disable-notifications') + #op.add_argument("--lang=en-GB") op.headless = False driver = uc.Chrome(service=Service(ChromeDriverManager().install()), options=op)