News for hackers. Stuff that matters.
Re:Curl Wttr.in by justaj on Friday June 26, 2020 @11:05AM (#23652779)
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.
Re:Curl Wttr.in by igor_chubin on Friday June 26, 2020 @11:21AM (#23652989)
Just use

    curl --user-agant "" wttr.in?A
for that.

The `A` option enforces ANSI output (curl wttr.in/:help for more)

Re:Curl Wttr.in by justaj on Friday June 26, 2020 @12:39PM (#23653954)
Oh nice, thanks! I wish more services would do that.

(btw there's a typo, should be --user-agent)