def fetch(session, url): with aiohttp.Timeout(60 * 4): async with session.get(url) as response: return await response.text()