Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: My first LWP script

by atcroft (Monsignor)
on Jun 15, 2004 at 16:19 UTC ( #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....


Comment on Re: My first LWP script
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
Node Status?
node history
Node Type: note [id://366936]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2015-07-06 03:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (69 votes), past polls