I've written a web scraper using the python requests library which mimics the browsers XHR requests to the scraper website. However requests generates InsecureRequestsWarning when connecting to the site. I have set verify=False so that I can at least connect. However for every request it generates SSL errors. Is there a way to suppress these errors? (I'm not clear why there are SSL errors are the domains certificate looks valid when checked via an SSL checker - does requests break down what the SSL issue is somehow?)
InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
InsecureRequestWarning)