Automating reports

pirrone at localnet.com pirrone at localnet.com
Tue Oct 4 12:30:45 EDT 2005



  Quoting "Robert F. Stockdale IV" <javabob at adelphia.net>:

> Unfortunately wget doesn't download the graphics correctly.
Actually
> it downloads the page without the graphic. This is the command I
used:
>
> wget
http://www.marketwatch.com/tools/quotes/printable.asp?symb=SPX&siteid=mktw&intflavor=advanced&submitted=true&time=8&freq=1&comp=Enter%20Symbol:&compidx=aaaaa~0&uf=4&ma=1&maval=50&lf=4&lf2=0&lf3=0&type=2&compind=aaaaa~0&size=1&style=1013&customdate=true&startdate=0&enddate=0&linkname=Interactive%20Charting&origurl=/tools/quotes/intchart.asp&rand=478450953[1]
>
> If the web address is loaded in a browser it brings up a printable 
> chart of the S&P 500 index. Is there something I'm missing? The
Fpdf
> looks like a great idea. Hope I can use it. I'm not real good at 
> scripting, although I'm trying to learn some. Been looking at 
> abs-guide (Advanced Bash Scripting Guide) and some Python.
> Thank you.
> Bob

  Bob,

  If you use wget -p it should grab all page requisites.  You may
even need -r for recursive and -l 2 or so to go down a level but if
it's in the browser window it should be gettable.

  Frank

  Links:
------
[1]
/horde/services/go.php?url=http%3A%2F%2Fwww.marketwatch.com%2Ftools%2Fquotes%2Fprintable.asp%3Fsymb%3DSPX%26siteid%3Dmktw%26intflavor%3Dadvanced%26submitted%3Dtrue%26time%3D8%26freq%3D1%26comp%3DEnter%2520Symbol%3A%26compidx%3Daaaaa%7E0%26uf%3D4%26ma%3D1%26maval%3D50%26lf%3D4%26lf2%3D0%26lf3%3D0%26type%3D2%26compind%3Daaaaa%7E0%26size%3D1%26style%3D1013%26customdate%3Dtrue%26startdate%3D0%26enddate%3D0%26linkname%3DInteractive%2520Charting%26origurl%3D%2Ftools%2Fquotes%2Fintchart.asp%26rand%3D478450953

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nflug.org/pipermail/nflug/attachments/20051004/b6043a24/attachment-0001.html


More information about the nflug mailing list