-
-
Notifications
You must be signed in to change notification settings - Fork 75
Description
/anaconda3/envs/py37-pt19/lib/python3.7/site-packages/urllib3/connectionpool.py:1052: InsecureRequestWarning: Unverified HTTPS request is being made to host 'search.jd.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
/anaconda3/envs/py37-pt19/lib/python3.7/site-packages/urllib3/connectionpool.py:1052: InsecureRequestWarning: Unverified HTTPS request is being made to host 'www.jd.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
search_req_bf:
Traceback (most recent call last):
File "main.py", line 245, in
run(args.dir, args.keyword, args.num)
File "main.py", line 219, in run
goods_urls = search_goods(keyword, pages)
File "main.py", line 78, in search_goods
log_id = re.findall("log_id:'(.*)',", search_req.text)[0]
IndexError: list index out of range