scrapy / scrapy
1 7
async def collect_asyncgen(result):
2 2
    results = []
3 7
    async for x in result:
4 2
        results.append(x)
5 2
    return results

Read our documentation on viewing source code .

Loading