Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Waiting my turn politely with LWP

by toro (Beadle)
on Jun 17, 2011 at 08:00 UTC ( [id://910089]=perlquestion: print w/replies, xml ) Need Help??

toro has asked for the wisdom of the Perl Monks concerning the following question:

I read http://robotstxt.org and therefore know that I should identify my LWP::UserAgent and leave a contact email when I crawl robotically. I'd also like to avoid bombarding the servers I poke, especially during periods of high traffic for them.

Currently I am sleeping between jobs and running cron jobs at boring American hours. Is there a more adaptive way (perhaps within LWP) to pause a crawl when a server says it's busy?

And, anything else I should know to be a polite web crawler?

Replies are listed 'Best First'.
Re: Waiting my turn politely with LWP
by Anonymous Monk on Jun 17, 2011 at 08:19 UTC
      Perfect! Thank you!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://910089]
Approved by Corion
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-26 03:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found