Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Check if your site's been banned with Google

by davidrw (Prior)
on Jan 08, 2007 at 14:01 UTC ( [id://593536]=note: print w/replies, xml ) Need Help??


in reply to Check if your site's been banned with Google

The while loop can be written simply as:
my @results = m@<a class=l href=\"(.*?)\">@gi;
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 = map { $_->url } grep { $_->attrs->{class} eq '1' } $mech->find_all_links(tag=>'a') ;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://593536]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found