added Hasaki crawler
This commit is contained in:
parent
b134f50f1e
commit
8be3e9b9f4
|
@ -154,6 +154,8 @@ class HasakiProductInfo:
|
||||||
|
|
||||||
driver.get(url)
|
driver.get(url)
|
||||||
|
|
||||||
|
iteminfo = ""
|
||||||
|
|
||||||
for request in driver.requests:
|
for request in driver.requests:
|
||||||
if request.response:
|
if request.response:
|
||||||
if '/wap/v2/product/detail' in request.url:
|
if '/wap/v2/product/detail' in request.url:
|
||||||
|
|
|
@ -22,6 +22,8 @@ def get_raw_product(url):
|
||||||
|
|
||||||
driver.get(url)
|
driver.get(url)
|
||||||
|
|
||||||
|
iteminfo = ""
|
||||||
|
|
||||||
for request in driver.requests:
|
for request in driver.requests:
|
||||||
if request.response:
|
if request.response:
|
||||||
if '/wap/v2/product/detail' in request.url:
|
if '/wap/v2/product/detail' in request.url:
|
||||||
|
|
Loading…
Reference in New Issue