Robin B. Lake [EMAIL PROTECTED] writes:
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=%24OEXsid=0o_symb=%24OEXx=60y=15freq=9time=1'
[...]
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?
Use something like:
wget -p -k --html-extension '...URL...'
That should make sure that the image is downloaded along with the
page, that the `.asp' file is renamed to `.html', and that links to
the images are converted for local viewing.
Usage of the latest version of Wget (now 1.8.1) highly recommended.