for now
async def get_ethereum(session: TentacleSession, request: Dict):
async with session**(connector=TCPConnector(ssl=False)**).get(
url=request["url"]
) as response:
body = await response.text()
return body
client = OctopusApi(rate=10, resolution="sec", connections=10)
result: List = client.execute(
requests_list=[
{
"url": "https://suggest.taobao.com/sug?code=utf-8&q=%E5%8D%AB%E8%A1%A3&callback=cb",
}
]
* 100,
func=get_ethereum,
)
print(result)
This I wrote will be error :“TypeError: 'TentacleSession' object is not callable”
So, my question is how to ingore ssl verify ,Thx
for now
async def get_ethereum(session: TentacleSession, request: Dict):
async with session**(connector=TCPConnector(ssl=False)**).get(
url=request["url"]
) as response:
body = await response.text()
return body
This I wrote will be error :“TypeError: 'TentacleSession' object is not callable”
So, my question is how to ingore ssl verify ,Thx