4 ms·
Interesting article! I would just like to point out that concurrent downloads can be handled much more efficiently in Python > 3.4 thanks to the asyncio librar
by simon_acca 10y ago
Interesting article!
I would just like to point out that concurrent downloads can be handled much more efficiently in Python > 3.4 thanks to the asyncio library.
For an example, look at Guido van Rossum's crawler [0].
[0]: https://github.com/aosabook/500lines/tree/master/crawler https://github.com/aosabook/500lines/tree/master/crawler
- tejinderss 10y agoAsyncio doesn't support http yet but that could be fixed with a library like aiohttp
- talideon 10y agoThe linked crawler uses aiohttp.