in reply to Check if your site's been banned with Google
Also, you may want to look at WWW::Mechanize's find_all_links method (returns WWW::Mechanize::Link objects) so that you're not parsing html yourself ..my @results = m@<a class=l href=\"(.*?)\">@gi;
my @results = map { $_->url } grep { $_->attrs->{class} eq '1' } $mech->find_all_links(tag=>'a') ;
|
|---|