亚马逊爬虫-踩坑
作者:
木语沉心 | 来源:发表于
2021-05-14 02:17 被阅读0次
- 之前在window开发好好的 回到家测试用mac请求一直弹出验证码检测,
但是此时postman请求以及浏览器均没有被检测
怀疑是mac的python环境缺失一点东西
- 测试良久之后用python2执行发现请求成功
输出信息:
python amazon_test.py
/Users/lijiandong/Library/Python/2.7/lib/python/site-packages/urllib3/contrib/pyopenssl.py:47:
CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team.
Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography import x509
- 百度一番发现是ssl验证的问题,我的python3缺少相应的模块或者版本不一致
- 安装 pip install cryptography==2.4.2 之后 我又可以了
本文标题:亚马逊爬虫-踩坑
本文链接:https://www.haomeiwen.com/subject/wgufjltx.html
网友评论