mkurtis has asked for the wisdom of the Perl Monks concerning the following question:
it allows me to get the content of the site, even though i went to the robots.txt file on ebay and checked to see what sites it disallowed to check its ability to obey rules. did i do something wrong so that it doesnt use LWP::UserAgent? Thanks#!/usr/bin/perl -w use WWW::Mechanize; my $mech = WWW::Mechanize->new(); $mech->get("http://ebay.com/help/policies/group-guidelines.html"); print $mech->content(); print $mech->uri();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: WWW::mechanize not obeying rules
by Corion (Patriarch) on Mar 02, 2004 at 07:21 UTC | |
|
Re: WWW::mechanize not obeying rules
by esskar (Deacon) on Mar 01, 2004 at 23:54 UTC |