Partial success with your suggestions. I’m getting this in the first cell:
<html><head><title>Yahoo! - 999 Unable to process request at this time -- error 999</title></head><body>Sorry, Unable to process request at this time -- error 999.</body></html>
I’m using this as the script:
set {d, s, t} to {1, "Prices", "Prices"}
-- front doc, sheet named "My Sheet", table named "My Quotes"
set quoteProps to "l1" --
For more props see http://www.jarloo.com/yahoo_finance/
set baseURL to "http://download.finance.yahoo.com/d/quotes.csv?"
tell application "Numbers" to tell documentd'ssheets'stablet
set theSymb to column 1's (cells 2 thru -1)'s value
set AppleScript'stext item delimiters to "+"
set theSymb to "s=" & theSymb
set quoteProps to "&f=" & quoteProps
set the clipboard to (do shell script "curl -s " & (baseURL & theSymb & quoteProps)'s quoted form)
set selection range to range "B2"
activate
tell application "System Events" to keystroke "v" using {option down, shift down, command down}
end tell
I had thought that perhaps it was because the market wasn’t open and so waited until after open and still got this result (still got this thinking that waiting 15 minutes past opening might make a difference - nope).
One weird thing I did notice with Yahoo Finance is that refreshing the page with a stock such as TRUE.BK would work fine. However, with say TCB.BK, Yahoo would return with no data and I’d have to retype the ticker into the search bar.