Finally, a yahoo weather code that displays the degrees symbol. Just plug in your own zip code.


User Avatar
valiant66 2482 days ago
This doesn't work for Canada / deg.C. Is there any way to make that work?
User Avatar
deckert 2480 days ago
Can't get the formatting to work properly, but basically you just change the F's for C's and the f's for c's at 4 places in the command (marked with **C|c**)

curl --silent "http://weather.yahooapis.com/forecastrss?p=ASXX0112&u=**c**"

grep -E '(Current Conditions:|**C**<BR)'

**C**/\1° **C**/'
User Avatar
Alienraygun 2463 days ago
It grabs some HTML tags (open closed B tag and a BR tag) but no weather.
User Avatar
iKillz 2395 days ago
Is there a way to use the yahoo weather code instead

Of your zip code?
User Avatar
jbello18 1443 days ago
how do I use a japanese zip code?

Log in to comment or register here.