Downloading form based web page

From: Takeshi (do.not.spam.me_at_work.com)
Date: 06/30/04


Date: Wed, 30 Jun 2004 08:18:34 +0000 (UTC)

Hi,

I'm a Perl virgin (programmed in many languages though C/C++, Java). I
want to write a little script to download dynamic data generated by a
form based web page. By that, I mean, one has to select options
(actually one combo box item on the page) to have the data generated.

Currently, I do this manually, by having a timer app pop up a reminder
to save the data. I thought "there must be a better way to do this". I
googled and came accros wget but I don't think that can handle form
based web pages - it is simply good at sucking URLs. OK, the to get to
the point - anyone knows how I can write a little script that will allow
me to programatically select a combo box displayed on the page - and
then save the page ?

A little code snippet would be most useful as I am new to Perl
(alternatively, if some one has already written such a script or can
point me to the location of such a script, I'll be most grateful).

MTIA



Relevant Pages

  • Re: Why PHP is so succesfull?
    ... Trent> sounds like a lot of hassle to me. ... I've never written CGI scripts with Java myself. ... copying my first Hello World CGI java script to your ...
    (comp.programming)
  • Re: image gallery
    ... Does this mean i dont have to modify the second part of the script - telling ... If your pictures are stored in your images folder, ... pictures like the FP Banner web component but will be visible to users ... Being in Java doesn't usually / neccessarily mean insecure. ...
    (microsoft.public.frontpage.addins)
  • Re: [opensuse] Editting PATH variable
    ... SuSEconfig script ... ... not knowing what you options you used to install ... If your unfamiliar with Bash a good book is 'Learning the Bash Shell' by ... For Java use editing the PATH variable is NOT required... ...
    (SuSE)
  • Re: JAvascripts not working in my computer
    ... I have all my java enabled in the ... >> Script Debugging Problem ... >> Sun JRE.) ... >> Sun also offers an automatic download and install of the 1.4 Java ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: file not found or server unavailable web site links
    ... and definely looks like a virus writter script deletion ... >> There is an apparent java script error with IE6. ... the Sun JRE.) ... >Sun also offers an automatic download and install of the ...
    (microsoft.public.windows.inetexplorer.ie6.browser)