Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Lack of LWP::SIMPLE information

by Wassercrats
on Jul 12, 2003 at 13:09 UTC ( #273618=note: print w/replies, xml ) Need Help??


in reply to Lack of LWP::SIMPLE information

Sorry about the missing line breaks in the second paragraph. Too bad I can't edit it.

Replies are listed 'Best First'.
(jeffa) 2Re: Lack of LWP::SIMPLE information
by jeffa (Bishop) on Jul 12, 2003 at 13:15 UTC
    I popped in and edited it for you ... hope you don't mind. Normally i would wait for a consideration and a good number of 'edit' votes ... but in this case i saw no harm.

    Regarding your question ... LWP::Simple is indeed simple to use (i searched for 'redirect' in the POD and found no match), so simple that what you want may indeed not be there. In the past, i used LWP and Co. for serious web bots ... these days i just WWW::Mechanize (check out WWW::Mechanize::Shell as well). They make writting web bots fun again. ;)

    jeffa

    L-LL-L--L-LL-L--L-LL-L--
    -R--R-RR-R--R-RR-R--R-RR
    B--B--B--B--B--B--B--B--
    H---H---H---H---H---H---
    (the triplet paradiddle with high-hat)
    
      Thanks for the edit! WWW::Mechanize sounds familiar. I'm barely a Perl programmer, and I'm almost done with a complex perl script that I'd rather not re-work, but I'll read up on Mechanize. I'm wondering... since LWP::SIMPLE can get the page that has the redirect code in it, maybe I should write a redirect routine myself... on the other hand I'd like to adjust the timeout, which I don't think LWP::Simple allows.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (1)
As of 2022-01-29 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (74 votes). Check out past polls.

    Notices?