Home > Others > Yahoo! Weather icon not presented any more with GeekTool?

Yahoo! Weather icon not presented any more with GeekTool?

Partly CloudyYahoo! recently changed the code for storing / providing their weather icons. That results in problems displaying the icons for example with Geektool.

Here’s the new code:

curl –silent “http://weather.yahoo.com/germany/bavaria/kiefersfelden-665674/” | grep “current-weather” | sed “s/.*background\:url(\’\(.*\)\’) .*/\1/” | xargs curl –silent -o /tmp/weather.png\

Replace the orange part with the code extracted of the yahoo weather-url for your city – e.g.:

http://weather.yahoo.com/germany/bavaria/kiefersfelden-665674/


Categories: Others
  1. June 21st, 2012 at 15:04 | #1

    Gibt es für Kufstein kein Wetter? Oder wohnst jetzt in Kiefer 😉

  2. June 21st, 2012 at 19:48 | #2

    doch, doch 🙂 – aber 1. wollte ich einem Kollegen die Arbeit erleichtern sein Problem zu lösen und 2. sieht ‘Kufsstein’ immer ziemlich blöd aus…

  1. No trackbacks yet.