utility to grab images from URL and save to folder

Closed - This job posting has been filled and work has been completed.

Job Description

If you go to this URL and select two adjacent days you will see one day chart image on the right


So I need a small java utility to randomly pick a date between 2002 and 2012, then use date1 and date2 (date2=date1+1day) to put in http query above and then grab image it generates and save it to some folder (configurable)
Number of random dates should be configurable (e.g. images for 100 random days)
Generated image file name = date1_date2.jpg

Preferrably use WebHarvest library to handle this web scraping