Change option name due to downgrade of aiohttp

This commit is contained in:
Rémi Oudin 2018-02-26 10:23:32 +01:00
parent d6b26c0a46
commit 15db8b4697

View file

@ -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: