Shell weather.com image grab:
Image:
Shell Current Weather Condition Weather.com:
The Current condition and the weather image is not displaying. It has been working and for some reason today it has stopped working.
if any one has and ideas why it has stopped working or has working scripts that get the same information from weather.com
thanks in advance for any help
Code:
curl --silent "http://www.weather.com/weather/right-now/Ilfracombe+UKXX0565:1:UK" | grep -E -o 'http://s.imwx.com/v.20120328.084208/img/wxicon/120/.*png' | head -1 | xargs curl -o /tmp/weather.png
Image:
Code:
file://localhost/private/tmp/weather.png
Shell Current Weather Condition Weather.com:
Code:
curl --silent "http://www.weather.com/weather/right-now/Ilfracombe+UKXX0565:1:UK" | grep --max-count=1 '<span class="wx-value" itemprop="weather-phrase">[^<]*</span>' | sed 's/<[^>]*>//g'
The Current condition and the weather image is not displaying. It has been working and for some reason today it has stopped working.
if any one has and ideas why it has stopped working or has working scripts that get the same information from weather.com
thanks in advance for any help
Last edited: