From 7d201a71075e2d1661c47923e8955b7eb707b971 Mon Sep 17 00:00:00 2001 From: "shariar@raenabeauty.com" Date: Wed, 3 Apr 2024 13:54:19 +0400 Subject: [PATCH] added Hasaki crawler --- hasaki_crawler_engine/test_selenium.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/hasaki_crawler_engine/test_selenium.py b/hasaki_crawler_engine/test_selenium.py index 9767f20..7472bec 100644 --- a/hasaki_crawler_engine/test_selenium.py +++ b/hasaki_crawler_engine/test_selenium.py @@ -21,7 +21,14 @@ def get_raw_product_data_selenium(url): op.headless = False driver = uc.Chrome(version_main=122, options=op) - stealth(driver) + stealth(driver, + languages=["en-US", "en"], + vendor="Google Inc.", + platform="Win32", + webgl_vendor="Intel Inc.", + renderer="Intel Iris OpenGL Engine", + fix_hairline=True + ) driver.get(url)