Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: How to get text from site?

by grondilu (Friar)
on Feb 12, 2013 at 12:25 UTC ( [id://1018346]=note: print w/replies, xml ) Need Help??


in reply to [SOLVED] How to get text from site?

If you want the text to be at least roughly formatted, you can use the '-dump' option of a text-only browser:

print qx{elinks -dump http://www.perl.org};

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-03-28 09:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found