Last active
December 11, 2015 09:28
-
-
Save chitacan/4580139 to your computer and use it in GitHub Desktop.
get today's temperature in every 3 hour and feed it to spark.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --silent http://www.kma.go.kr/wid/queryDFSRSS.jsp\?zone\=1162060500 | grep "tmn" | sed -e 's,.*<tmn>\([^<]*\)</tmn>.*,\1,g' -e 's,-999.0,,' | tr '\n' ' ' | spark |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment