3 ms·
One of the downsides is that if you have curl set to not use a user agent, it (along with many such services) won't work. So curl --user-agent "" wttr.in j
by justaj 6y ago
One of the downsides is that if you have curl set to not use a user agent, it (along with many such services) won't work.
So
curl --user-agent "" wttr.in
just serves you unformatted HTML.
- igor_chubin 6y agoJust use curl --user-agant "" wttr.in?A for that. The `A` option enforces ANSI output (curl wttr.in/:help for more)
- justaj 6y agoOh nice, thanks! I wish more services would do that. (btw there's a typo, should be --user-agent)