From 15db8b46977c35a2a14eb220dd8cf8ca56809d4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Oudin?= Date: Mon, 26 Feb 2018 10:23:32 +0100 Subject: [PATCH] Change option name due to downgrade of aiohttp --- crawl/crawl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crawl/crawl.py b/crawl/crawl.py index 48aaba6..048114d 100644 --- a/crawl/crawl.py +++ b/crawl/crawl.py @@ -203,7 +203,7 @@ class PageGetter: delay = scheduler.fetch_delay() scheduler.fetching() async with async_timeout.timeout(10): - async with self.session.get(self.url, ssl=ssl) as resp: + async with self.session.get(self.url, verify_ssl=ssl) as resp: try: return await resp.text() except UnicodeDecodeError: