(url)
| 3 | |
| 4 | |
| 5 | async def download(url): |
| 6 | print('Fetch:', url) |
| 7 | async with aiohttp.ClientSession() as session: |
| 8 | async with session.get(url) as resp: |
| 9 | print(url, '--->', resp.status) |
| 10 | print(url, '--->', resp.cookies) |
| 11 | print('\n\n', await resp.text()) |
| 12 | |
| 13 | |
| 14 | def main(): |