Discussion

Ask HN: Do you set the user-agent on your scripts?

Typically I try to remember to set the user-agent on tools/scripts I make, to avoid default agents like `Go-http-client/version` or `python-request/version` but it seems like a lot of projects do not always set it.

Sometimes I will submit patches to projects to fix this, though sometimes I wonder if I'm in the minority of developers who prefer to properly set user-agent.

(I am fully aware and agree that the user-agent for most web browsers is terribly complicated and almost useless at this point. My focus is more on bots/scrapers/etc)

3 points kfdm 5 years ago 2 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton