added Hasaki crawler

This commit is contained in:
Shariar Imtiaz 2024-04-03 12:38:05 +04:00
parent 8237577385
commit b9e4ac73f6
1 changed files with 4 additions and 4 deletions

View File

@ -14,10 +14,10 @@ def get_raw_product_data_selenium(url):
op = uc.ChromeOptions() op = uc.ChromeOptions()
op.add_argument(f"user-agent={random_mobile_ua}") op.add_argument(f"user-agent={random_mobile_ua}")
op.add_experimental_option("useAutomationExtension", False) #op.add_experimental_option("useAutomationExtension", False)
op.add_argument('--no-sandbox') #op.add_argument('--no-sandbox')
op.add_argument('--disable-notifications') #op.add_argument('--disable-notifications')
op.add_argument("--lang=en-GB") #op.add_argument("--lang=en-GB")
op.headless = False op.headless = False
driver = uc.Chrome(service=Service(ChromeDriverManager().install()), options=op) driver = uc.Chrome(service=Service(ChromeDriverManager().install()), options=op)