When I execute time.sleep in a parse of scrapy, does it block other concurrent requests? And what if I execute Request (from urllib)in a parse? On what occasions are all the concurrent requests blocked?
(Sorry for my lousy English!)
不会卡掉的
In my experience the time.sleep method blocks the full application, so also all requests. What I know about scrapy is that it doesn't do concurrent requests (since its build on twisted which is not concurrent), and time.sleep blocks the current thread so this will block your full scraper.
@Hecate2 if @Matthijsy reply, anwer your question you could close this issue :smile:
Most helpful comment
In my experience the time.sleep method blocks the full application, so also all requests. What I know about scrapy is that it doesn't do concurrent requests (since its build on twisted which is not concurrent), and time.sleep blocks the current thread so this will block your full scraper.