Hacker News new | past | comments | ask | show | jobs | submit login

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.



Just use

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

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


Oh nice, thanks! I wish more services would do that.

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




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: