Sunday, May 30, 2010

non-interactively download data from websites

Here is an example on how to download current exchange data from a website:

wget "http://www.oanda.com/cgi-bin/fxcsv/fxcsv?client_id=oandatest&exch=USD&expr=EUR_BAM_INR" -O exchange.csv

Download data are stored in comma separate value in exchange.csv.

You could create a shell script to download other security data or even download books.

No comments:

Post a Comment