selfshore / spiders

模拟百度登陆(百度指数),去哪儿航班爬虫,极验滑块,船讯网数据解密,大众点评登录,知乎登录,同盾滑块,腾讯滑块,易盾滑块,企业公示系统(过加速乐),微店登录,拼多多anticontent
MIT License
363 stars 164 forks source link

代码无法运行 #1

Closed derekhe closed 4 years ago

derekhe commented 4 years ago

gitpod /workspace/spiders/qunar $ python3 qunar.py /home/gitpod/.pyenv/versions/3.8.3/lib/python3.8/site-packages/urllib3/connectionpool.py:979: InsecureRequestWarning: Unverified HTTPS request is being made to host 'www.qunar.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings warnings.warn( /home/gitpod/.pyenv/versions/3.8.3/lib/python3.8/site-packages/urllib3/connectionpool.py:979: InsecureRequestWarning: Unverified HTTPS request is being made to host 'touch.train.qunar.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings warnings.warn( /home/gitpod/.pyenv/versions/3.8.3/lib/python3.8/site-packages/urllib3/connectionpool.py:979: InsecureRequestWarning: Unverified HTTPS request is being made to host 'flight.qunar.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings warnings.warn( /home/gitpod/.pyenv/versions/3.8.3/lib/python3.8/site-packages/urllib3/connectionpool.py:979: InsecureRequestWarning: Unverified HTTPS request is being made to host 'flight.qunar.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings warnings.warn( Traceback (most recent call last): File "qunar.py", line 110, in airplane('深圳','北京','2020-05-19','2020-05-22') File "qunar.py", line 105, in airplane t1000 = re.sub('(new Image).*?,', '', r.json()['t1000']) KeyError: 't1000'

selfshore commented 4 years ago

下面那个地点和时间要改啊 现在都6月10号了,怎么可能还有5月的航班数据