News for hackers. Stuff that matters.
Re:Fast scraping in Python with Asyncio by bfwi on Monday March 03, 2014 @01:38PM (#7335471)
You can also use grequests (originally a part of requests). It has a grequests.map() function, that I use exactly for this scenario.
Re:Fast scraping in Python with Asyncio by madjar on Monday March 03, 2014 @03:48PM (#7336340)
I used that at some point, but I tend to prefer the explicit yield of asyncio to the implicit context change of greenlets. (This blog post is a good explanation of that: https://glyph.twistedmatrix.com/2014/02/unyielding.html)