5 ms·
Calling it on its own always returns the weather for Ottawa. Id expect it to use the requesting IP's location at the least. Using wttr.in/~LosAngeles returns
by emwjacobson 8y ago
Calling it on its own always returns the weather for Ottawa. Id expect it to use the requesting IP's location at the least. Using wttr.in/~LosAngeles returns the weather for "Rua Professora Maria Losângeles Navarro", a street in Brazil.
- sudosushi 8y agoMine returned Oymyakon, Russia. Nearly 8,000km from my location, or IP address geoloc. I'm assuming it's possibly picking up some hop in between, maybe?
- jedberg 8y agoMine too, but at the very bottom, it says "We were unable to find your location so we have brought you to Oymyakon, one of the coldest permanently inhabited locales on the planet."
- 4O4 8y agoThere's an explanation below the weather table: > We were unable to find your location so we have brought you to Oymyakon, one of the coldest permanently inhabited locales on the planet.
- gkoberger 8y agoFor me, it used my IP and got the correct location.
- bkanber 8y agoIt found my correct location automatically.
- theptrk 8y agoI have no idea how it parses text. `curl wttr.in/~LosAngelesCA` gave me an address in Russia `curl wttr.in/~LosAngeles,CA` gave me LA in California
- moviuro 8y agoYou're looking for `http://wttr.in/Los%20Angeles` http://wttr.in/Los%20Angeles`
- opk 8y agoIt gives me the weather for "Italy, United States of America". So having got the country of Italy from the geolocation, it must then be doing a US-centric text search for the location. The weather report is nice but doesn't work too well with rxvt-unicode or with a light-coloured background.