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

Re: Simple link extraction tool

by davidrw (Prior)
on Jan 03, 2007 at 18:00 UTC ( [id://592803]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    lynx --dump http://www.example.com | perl -0777 -pe 's/.+^References[\
    +r\n]+//sm'
    # or, to also strip the numbers:
    lynx --dump http://www.example.com | perl -0777 -pe 's/.+^References[\
    +r\n]+//sm; s/^\s*\d+\. //mg'
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (1)
As of 2024-04-25 00:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found