3 ms·
> Also, I would prefer this as a CLI application, not as a webpage. curl http://wttr.in/london Looks nice :)
by elcapitan 11y ago
> Also, I would prefer this as a CLI application, not as a webpage.
curl http://wttr.in/london
Looks nice :)
- amelius 11y agoUsing curl removes the HTML tags? Nice feature (though a little obscure).
- elcapitan 11y agoI think what they're doing is using the user agent header like the accept header, which makes sense for that specific idea, as the browser version is actually just kind of imitating a console. It currently doesn't work because they ran out of queries on their backend service, but I think they were not stripping html, but delivering a terminal text version with color escape characters.