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

Re: My first LWP script

by atcroft (Abbot)
on Jun 15, 2004 at 16:19 UTC ( [id://366936]=note: print w/replies, xml ) Need Help??


in reply to My first LWP script

Look at lwpcook-there are examples with basic authentication from the webserver, or where POST is being used and the authentication is being provided by the pages themselves. I suspect these may at least help you get started. Alternately, it is my understanding that WWW::Mechanize might also be useful, with a recent article appearing on http://www.perl.com/ regarding HTTP::Recorder to generate WWW::Mechanize scripts.

Hope that helps....

Replies are listed 'Best First'.
Re^2: My first LWP script
by a,s5 (Initiate) on Jun 15, 2004 at 20:04 UTC
    I'll second that emotion. HTTP::Recorder is a wonderfully handy interface for WWW::Mechanize scripts. Here's a link to the article itself:

    http://www.perl.com/pub/a/2004/06/04/recorder.html

    As the article points out, you may have some difficulty if you are using SSL to access this page. In that circumstance, you'll have to go through the HTTP::Recorder control panel, not just through the proxy.

    I've used this set-up several times, and it's fast, and easy.

      This is great and I'll be trying it tonight. I just wish I would be able to have a macro function from within Firefox. Just select "record actions". Run through the actions on the website and save it.
      WOW.
      I am consistently surprised with just how many cool things I'm exposed to on this site. The link to the perl.com article is something that will scratch a particular itch I've had for a while.
      Thank you.


      Very funny Scotty... Now PLEASE beam down my PANTS!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-03-28 21:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found