For a data collection/analysis project, I am trying to download entries in a aspx web form at http://www.lasuperiorcourt.org/civilcasesummarynet/ui/?CT=AP&casetype=appellate, but I’m having little success so far.
The idea is to download the relevant information from the web page through wget and output the results to a single html file. From the resulting output I would then compile stats on the extracted data on relevant cases (e.g. from case nos BV024000 to BV028933).
However, I’m having trouble getting wget to retrieve data from the form. I’ve been using:
wget --post-data "frmsearch=BV024000" http://www.lasuperiorcourt.org/civilcasesummarynet/ui/?CT=AP^&casetype=appellate -O output.html
But I just get the original page back, not the form output. What am I doing wrong?
There two problems
Here I did the request as follow
and it worked see the picture http://i47.tinypic.com/35db8k3.png
Probably you will need to set up a new value of __VIEWSTATE for every request.