Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up(Feature Request) Throttling number of spiders running concurrently in the same process #869
Comments
|
Btw, I needed hundreds of different spiders, because I needed to use hundreds of different cookies, it wasn't for different domains as in docs example. If there's better way I should approach this, please feel free to tell me :) |
|
Hello @kmike, Well, I don't know neither, I wasn't digging too much into it, cuz I didn't want to overload server. Maybe with cookiejar it would be possible also. Basically what I needed was to log in with around hundred of different accounts and then do scraping. I found this quite clean solution for this. |
|
@kmike |
|
@jmaynier you can set custom |
|
Thanks @kmike, it seems to be exactly what I was looking for ! I will try it right away :-) |
It would be nice to be able to throttle number of spiders running concurrently from the script as in a docs in "Common Practices" (http://doc.scrapy.org/en/latest/topics/practices.html#running-multiple-spiders-in-the-same-process)
I was doing spider, which started them few hundreds at once, it didn't work, logging didn't even started.
It would be nice if we could easily set this number.
Thank you very much,
You're doing great job guys!