added Hasaki crawler
This commit is contained in:
parent
8237577385
commit
b9e4ac73f6
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue