Member Since: May 19, 2009
Location: Waiting for a mate . . .
Mac Specs: 21" iMac 2.9Ghz 10.9.4 13"MBP 2.9Ghz i7 Yosemite 10.10 ~ iPhone5 iOS 8 ~ iPad Mini iOS 8 ~ ATV3 6.1
11-11-2009, 11:20 PM
Originally Posted by Dysfunction
How much of the forecasted info do you want?
btw, with all the tables that's a mess... much easier on a simpler page.. for instance.. tomorrows forecast...
mikeMbp:~ mike$ curl http://www.wunderground.com/global/stations/94975.html |sed -n 1133,1144p | sed -e 's#<[^>]*>##g'
Chance of Rain.
Chance of precipitation 30%
(water equivalent of 0.08 in).
oh and since we're printing line ranges.. it'll fail if it changes.
Nice. Really just wanting todays Temp that im using the code of yours from yesterday and i have refresh rate set at 100 sec's and in the forecast as in conditions just the ( partly cloudy ) part of it and the (partly cloudy) icon with it and changes as the conditions do. Will have the refresh rate set at 100 sec's as well.
Dont need the precipitation and wind speeds, as its not really relevant to the info im after.
Would be nice to have tomorrows outlook but not essential.
Just want to keep it as simple as possible
Make sense ?? Dont want you going out of your way !!!
And is it good to play with these scripts in terminal.....
Dont forget to use the Reputation System if someone has helped you out !!!
Arguing with a zealot is only slightly easier than tunneling through a mountain with your forehead!!!!!