Exception: HTTP 599: SSL certificate problem: unable to get local issuer certificate 解決辦法

使用Pyspider中報此錯誤。ide

 

錯誤緣由:url

這個錯誤會發生在請求 https 開頭的網址,SSL 驗證錯誤,證書有誤。spa

 

解決方法:date

使用self.crawl(url, callback=self.index_page, validate_cert=False)請求

相關文章
相關標籤/搜索