Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Extract file links from Google search results

by Anonymous Monk
on Jul 26, 2007 at 21:49 UTC ( [id://629008]=note: print w/replies, xml ) Need Help??


in reply to Extract file links from Google search results

Something similar with the general-purpose xml/html extract utility xmlgrep:

GET -HUser-Agent:Mozilla/5.0 'http://www.google.com/search?hl=hr&q=bbbike&btnG=Google+pretraga&lr=' | xmlgrep -parse-html -as-html '//a[@class="l"]/@href'

Basically, xmlgrep is just a grep which uses XPath expressions. It can be downloaded here.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-19 20:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found