One work around I've found is to simply use NSTask and curl. But now I have new problem!
When you do a search on weather.com (and most weather sites), sometimes you'll be taken to a page with multiple hits, or in the case of a unique hit, straight to the cities weather page.
There are two Peoria's in the weather.com database, so doing this:
curl "http://www.weather.com/search/search?where=Peoria"
works fine.
There is only one Champaign, but doing this:
url "http://www.weather.com/search/search?where=Champaign"
prints nothing to the screen. I played with the -F flag a little bit, but didn't get anywhere.
Does anyone see what I'm doing wrong?
Thanks,
Matt Fahrenbacher