don't verify HTTPS certificates

This commit is contained in:
ophirharpazg 2020-09-01 15:43:08 +03:00
parent c7b51bfe19
commit 6efc7d8f82
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ def find_exploitbale_article_ids(base_url: str, lower: int = 1, upper: int = 100
articles = set() articles = set()
while lower < upper: while lower < upper:
node_url = urljoin(base_url, str(lower)) node_url = urljoin(base_url, str(lower))
response = requests.get(node_url) response = requests.get(node_url, verify=False)
if response.status_code == 200: if response.status_code == 200:
if is_response_cached(response): if is_response_cached(response):
LOG.info(f'Found a cached article at: {node_url}, skipping') LOG.info(f'Found a cached article at: {node_url}, skipping')