CSDN首页直接访问出现MaxRetryError
来源:7-13 获取所有的二级分类的url

慕瓜9435863
2022-11-03
但是此处报出几个错误:
1、C:\Users\gala\Envs\spider\lib\site-packages\OpenSSL_util.py:6: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
from cryptography.hazmat.bindings.openssl.binding import Binding
这个好像是依赖问题,是不是python3.6就用不了这个cryptography这个模块了?
2、爆出了MaxRetryError错误,这个是达到最大重试次数了吗?
老师,问一下这种情况怎么解决啊?
写回答
1回答
-
bobby
2022-11-04
上面的看起来是警告,不应该是造成下面错误的原因, 下面的错误应该是headers造成了被反爬,你通过浏览器拷贝所有的headers然后复制到这里运行试试
132022-11-07
相似问题