admin管理员组

文章数量:1618731

1、解决方案:

先检查是否加了UA,如果代码没有问题,可能是cryptography 版本问题
pip uninstall cryptography
pip install cryptography==36.0.2

2、报错详情

2022-06-07 03:02:00 [scrapy.downloadermiddlewares.retry] ERROR: Gave up retrying <GET https://desk.zol/dongman/> (failed 3 times): [<twisted.python.failure.Failure OpenSSL.SSL.Error: [(‘SSL routines’, ‘’, ‘unsafe legacy renegotiation disabled’)]>]
2022-06-07 03:02:00 [scrapy.core.scraper] ERROR: Error downloading <GET https://desk.zol/dongman/>
Traceback (most recent call last):
File “D:\soft\python3\lib\site-packages\scrapy\core\downloader\middleware.py”, line 44, in process_request
return (yield download_func(request=request, spider=spider))
twisted.web._newclient.ResponseNeverReceived: [<twisted.python.failure.Failure OpenSSL.SSL.Error: [(‘SSL routines’, ‘’, ‘unsafe legacy renegotiation disabled’)]>]



本文标签: PythonfailurescrapytwistedSSL