diff --git a/scrapers/mn/bills.py b/scrapers/mn/bills.py index e841679007..de4c710ddc 100644 --- a/scrapers/mn/bills.py +++ b/scrapers/mn/bills.py @@ -553,7 +553,7 @@ def extract_versions(self, bill, doc): current = doc.xpath("//div[contains(text(), 'Current bill text')]/a[1]")[0] current_html_url = current.xpath("@href")[0] - current_response = requests.get(current_html_url) + current_response = requests.get(current_html_url, verify=False) current_content = lxml.html.fromstring(current_response.content) pdf_xpath = ".//a[contains(text(), 'Authors and Status')]/../following-sibling::td/a" @@ -585,7 +585,7 @@ def extract_versions(self, bill, doc): if href: vers_html_url = href[0] vers_html_url = format_version_url(vers_html_url) - vers_response = requests.get(vers_html_url) + vers_response = requests.get(vers_html_url, verify=False) vers_content = lxml.html.fromstring(vers_response.content) vers_pdf_url = vers_content.xpath(pdf_xpath)[0].xpath("@href")[0] vers_pdf_url = format_version_url(vers_pdf_url)