You
may be able to use something like
wget or
curl in a shell script, looping over each policy number. If the numbers are sequential and sorted, you can use a shell variable to compute the numbers, otherwise they can be generated and read from a file. It will take a little research to see what is required. Use a conventional browser, and get it to display the page source HTML, probably by right-clicking somewhere on the page. If the HTML source contains a construct that contains an HTML <form> element, you are probably in luck. Even better would be if it uses
. If it does, then you will almost certainly be able to script the solution. The form should contain the same number of elements as you are required to type in, and you may be able to identify their names (but not necessarily).
Let us know what you find.
Here is a sample of what to look for, extracted from a LQ search page:
Code:
<form action="/questions/search.php" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="1" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="s" value="" />
The <form> tag is followed by its method type ("post", in this example), and a bunch in input elements. With luck, you should find something similar. If you need help deciphering, post a sample (definitley use [CODE][/CODE] tags), and someone should be able to assist you.
--- rod.