We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1a1ae3 commit dc1d9c3Copy full SHA for dc1d9c3
README.md
@@ -135,8 +135,8 @@ async def get_proxies():
135
"method": "get",
136
}
137
138
- with aiohttp.ClientSession() as session:
139
- with session.post('http://example.com:55555', json=json_data) as response:
+ async with aiohttp.ClientSession() as session:
+ async with session.post('http://example.com:55555', json=json_data) as response:
140
if response.status == 200:
141
response = json.loads(await response.text())
142
for proxy in response['data']:
0 commit comments