import asyncio
import requests
import aiohttp
async def main():
async with aiohttp.ClientSession() as session:
async with session.get(
"https://m.avito.ru/api/11/items?key=1") as resp:
print(resp.status)
print(await resp.text())
r = requests.get(
"https://m.avito.ru/api/11/items?key=1").text
print(r)
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
@m|Wbf@28