steam-missing-covers-downloader
steam-missing-covers-downloader copied to clipboard
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)>
Platform : macOS 应该是个在macOS上常见的问题(如果没接触过爬虫的话)。之前在macOS上是用取消证书验证来通过的
import ssl
ssl._create_default_https_context = ssl._create_unverified_context
新版本用了新的库之后上面的代码不管用了,还是需要更新一下证书 Install certificates to solve the problem: https://stackoverflow.com/questions/50236117/scraping-ssl-certificate-verify-failed-error-for-http-en-wikipedia-org
If you're using macOS go to Macintosh HD > Applications > Python3.6 folder (or whatever version of python you're using) > double click on "Install Certificates.command" file
if you install Python by brew, try this: https://stackoverflow.com/questions/44649449/brew-installation-of-python-3-6-1-ssl-certificate-verify-failed-certificate/44649450#44649450
更新后可正常使用