see this issue https://github.com/scrapy/scrapy/issues/319, already created 
a PR <https://github.com/scrapy/scrapy/pull/884>.

在 2014年9月14日星期日UTC+8下午3时49分09秒,tim feirg写道:
>
> I'd like to change the download_delay of my spider on the fly but I can't 
> seem to accomplish that by changing spider.download_delay attribute, I had 
> the log printed out and here's how it looked:
>
> (in my spider class I set spider.download_delay to 2.7 secs, and change it 
> to 5 and printed it out)
>
> 2014-09-14 15:27:40+0800 [scrapy] INFO: response downlaoded
> 2014-09-14 15:27:40+0800 [info_crawler] INFO: slot: some-ip-address | 
> conc: 1 | delay: 2700 ms (-2300) | latency:  168 ms | size: 23430 bytes
> spider.download_delay: 5
>
> spider.download_delay is set to 5 secs but the download delay here is 
> still 2.7s, so that changing spider.download delay doesn't not affect the 
> download delay at all, and I'm wondering what else can I try to do this.
>

-- 
You received this message because you are subscribed to the Google Groups 
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to