
Znaleziono 3 wyniki
- 21 stycznia 2014, 19:43
- Forum: Programowanie
- Temat: skrypt: pogoda z AccuWeather
- Odpowiedzi: 4
- Odsłony: 3071
- 21 stycznia 2014, 19:35
- Forum: Programowanie
- Temat: skrypt: pogoda z AccuWeather
- Odpowiedzi: 4
- Odsłony: 3071
- 21 stycznia 2014, 16:57
- Forum: Programowanie
- Temat: skrypt: pogoda z AccuWeather
- Odpowiedzi: 4
- Odsłony: 3071
skrypt: pogoda z AccuWeather
Witam wszystkich,
Jest sobie taki skrypt: curl -s "http://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&locCode=EUR|PL|PL007|WARSZAWA|" | sed -n '/Currently:/ s/.*: \(.*\): \([0-9]*\)\([CF]\).*/\2°\3, \1/p'
Wycina on ten fragment strony, który mówi o aktualnej pogodzie. Działa. Prawie ...
Jest sobie taki skrypt: curl -s "http://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&locCode=EUR|PL|PL007|WARSZAWA|" | sed -n '/Currently:/ s/.*: \(.*\): \([0-9]*\)\([CF]\).*/\2°\3, \1/p'
Wycina on ten fragment strony, który mówi o aktualnej pogodzie. Działa. Prawie ...