forked from p15670423/monkey
don't verify HTTPS certificates
This commit is contained in:
parent
c7b51bfe19
commit
6efc7d8f82
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue