Traceback (most recent call last):


 "b.py", line 23, in <module>

MySpider.run()


 "/home/qyy/anaconda3/envs/sanic/lib/python3.6/site-packages/gain/spider.py", line 52, in run

loop.run_until_complete(cls.init_parse(semaphore))


 "uvloop/loop.pyx", line 1451, in uvloop.loop.Loop.run_until_complete


 "/home/qyy/anaconda3/envs/sanic/lib/python3.6/site-packages/gain/spider.py", line 71, in init_parse

with aiohttp.ClientSession() as session:


 "/home/qyy/anaconda3/envs/sanic/lib/python3.6/site-packages/aiohttp/client.py", line 956, in __enter__

raise TypeError("Use async with instead")
TypeError: Use async with instead

Traceback (most recent call last):


 "/home/user/.cache/pypoetry/virtualenvs/proj-ngDuziVt-py3.6/lib/python3.6/site-packages/networkx/classes/graph.py", line 1908, in bunch_iter

for n in nlist:
TypeError: 'Stage' object is not iterable
