I'm using wget to save a "tick chart" of a stock index each night.

wget -nH -q -O /QoI/working/CHARTS/$myday+OEX.html 
'http://bigcharts.marketwatch.com/quickchart/quickchart.asp?symb=%24OEX&sid=0&o_symb=%24OEX&x=60&y=15&freq=9&time=1'
   

The Web site returns an image, whose HTML is:
<IMG 
SRC="http://chart.bigcharts.com/bc3/quickchart/chart.asp?symb=GE&compidx=aaaaa%3A0&ma=0&maval=9&uf=0&lf=1&lf2=0&lf3=0&type=2&size=2&state=8&sid=^C48
&style=320&time=1&freq=9&nosettings=1&rand=6148&mocktick=1&rand=4692" BORDER="0" 
WIDTH="579" HEIGHT="335"><BR>

(I had to break the line for my e-mail editor).

What is saved by Wget is the HTML, so that when I go to get the saved image,
say a week from now, what I get is the image for that future day, not for
the day I saved!

Is there a way to get Wget to save the image?

Thanks,
Robin Lake
[EMAIL PROTECTED]

Reply via email to