Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

FastRobot
a robot which lets us check how long it will wait

FastRobot - a robot which lets us check how long it will wait


NAME

FastRobot - a robot which lets us check how long it will wait


SYNOPSIS


  use FastRobot

  my $ua=FastRobt::new(....)

  $ua->check_wait


DESCRIPTION

Just like a RobotUA, but you can see how long it will wait for a given link and then try another.

$self->robot_check($url)
robot_check - checks whether a request will be allowed by the robot rules but doesn't actually send a request. This has the advantage that it means that the host_wait function is then accurate.

$ua->host_wait($netloc)
Returns the number of seconds (from now) you must wait before you can make a new request to this host.

$ua->no_wait($regex)
Sets a regular expression for links for which the robot agent should not wait. Typically these would be local pages or servers in the same organisation as the link checking is being carried out by.
Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy