added Hasaki crawler
This commit is contained in:
parent
fe52f64d4b
commit
71f946c29e
|
@ -119,7 +119,6 @@ class HasakiProductInfo:
|
||||||
except playwright._impl._errors.TimeoutError:
|
except playwright._impl._errors.TimeoutError:
|
||||||
logging.info("Timeout occurred. Retrying.....")
|
logging.info("Timeout occurred. Retrying.....")
|
||||||
page.reload()
|
page.reload()
|
||||||
continue
|
|
||||||
with page.expect_response("**/wap/v2/product/detail**") as response:
|
with page.expect_response("**/wap/v2/product/detail**") as response:
|
||||||
api_requests = response.value.json()
|
api_requests = response.value.json()
|
||||||
finally:
|
finally:
|
||||||
|
|
Loading…
Reference in New Issue