in reply to Re: crawling past a javascript submit function
in thread crawling past a javascript submit function

Specialized! Specialized! The form tag is:

<form name="contract_cat_index1" id="contract_cat_index1" action="/cscr/contract_ads/display/contract_subcat_index.asp?GUID=" method="post">

When I copy and paste that link, I get "Missing data required to display the requested web page." Of course. Because then I'm not posting. I think I see what to do, and I'm gonna fiddle for a bit... just gotta get over to my other machine.

I'm still not sure what the parameters for do_POST should be, but I think I can figure it out through trial and error. If you know a better way, please advise.

Replies are listed 'Best First'.
Re^3: crawling past a javascript submit function
by Skeeve (Parson) on Sep 08, 2007 at 11:10 UTC

    You simply have to find all input elements inside the form and supply all the information needed.

    OTOH: There are modules that help you. I think WWW::Mechanize is one of those.