Yahoo Finance provides spreadsheets of historical data for every symbol. But I don't want to download each of them manually. Is there any way I can write a script to download all of them? For example, I have a list of symbols in a file. I'd like the script to go through the file, and download the spreadsheet for that symbol in a specified directory.
Edit: I'm on OSX 10.8.3
A simple http get on the download link worked.