[E 160329 11:32:22 base_handler:194] HTTP 599: SSL certificate problem: self signed certificate in certificate chainide
Traceback (most recent call last): File "D:\Python27\lib\site-packages\pyspider\libs\base_handler.py", line 187, in run_task result = self._run_task(task, response) File "D:\Python27\lib\site-packages\pyspider\libs\base_handler.py", line 166, in _run_task response.raise_for_status() File "D:\Python27\lib\site-packages\pyspider\libs\response.py", line 183, in raise_for_status raise http_error
HTTPError: HTTP 599: SSL certificate problem: self signed certificate in certificate chainurl
解決方法:.net
使用self.crawl(url, callback=self.index_page, validate_cert=False)pyspider
並參考http://blog.csdn.net/asmcvc/article/details/51016485文末。blog