Category : aiohttp

from aiohttp_socks import SocksConnector, ProxyConnector, ProxyType from aiohttp import ClientSession async def parse_posts(): connector = ProxyConnector.from_url(‘socks5://176.9.75.42:1080’) async with ClientSession(connector=connector) as session: async with await session.get(‘https://google.com/’) as resp: print(await resp.text()) import asyncio loop = asyncio.get_event_loop() loop.run_until_complete(parse_posts()) loop.close() Hi I am getting an error with reading it. Can you help though. OS is Windows 10. Here is ..

Read more