我无法通过scrapy从https://vesti-ukr.com获取页面。它说:
twisted.python.failure.Failure OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', 'sslv3 alert handshake failure')]
我试图使用任何其他DOWNLOADER_CLIENT_TLS_METHOD
像“SSLv3”但它不起作用。
scrapy shell https://vesti-ukr.com/feed/1-vse-novosti
对于任何其他网站,我没有使用scrapy的问题。这个我可以用请求(它运行良好)或windows BitsTransfer来搜索这个网站,但我想用scrapy进行,现在我想知道它为什么会发生以及如何在将来修复它。
你能检查一下你的cryptography
lib版本吗?以pip freeze
为例。
将版本降级到pip install cryptography==1.7.2
帮我调用scrapy shell https://vesti-ukr.com/feed/1-vse-novosti
而没有ssl错误。