def _download(self, proxy):
with aiohttp.ClientSession(connector=aiohttp.ProxyConnector(proxy=proxy)) as session:
with aiohttp.Timeout(20):
async with session.request("GET",
"http://m.baidu.com") as resp:
body = await resp.read()
评论列表
文章目录