View Single Post
TattooedMac

 
TattooedMac's Avatar
 
Member Since: May 19, 2009
Location: Waiting for a mate . . .
Posts: 7,809
TattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant future
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

TattooedMac is offline
Quote:
Originally Posted by Dysfunction View Post
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...

Code:
mikeMbp:~ mike$ curl http://www.wunderground.com/global/stations/94975.html |sed -n 1133,1144p | sed -e 's#<[^>]*>##g'

		Thursday
		Chance of Rain.
		Partly Cloudy.
		High:
		66 &deg;F
		.
		Wind
		South
		17 mph
		.
		Chance of precipitation 30%
		(water equivalent of 0.08 in).
mikeMbp:~ mike$
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 !!!
Cheers

And is it good to play with these scripts in terminal.....

CogFrog Studio's ~ Photography, Apps and Web Development
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!!!!!
QUOTE Thanks