Change option name due to downgrade of aiohttp
This commit is contained in:
parent
d6b26c0a46
commit
15db8b4697
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue