caderek / aocrunner

Advent of Code runner
ISC License
163 stars 23 forks source link

New User-Agent requirement #12

Closed vegeta897 closed 1 year ago

vegeta897 commented 1 year ago

Per this thread on reddit from the creator of AoC, API requests may be completely blocked soon if they do not include an appropriate User-Agent header.

If you have any kind of tool, website, script, plugin, etc etc that sends requests to AoC, please include your contact information (like your email address) in the User-Agent header of every request. (That's the contact info of the person that maintains the code sending the automated requests, not the contact info of the person using your code.) I'm seeing a lot of abusive traffic from tools that just identify themselves as stuff like python-requests/x.y.z, so I'll probably be blocking User Agents like those entirely soon. Even better would be to also include a URL where I can see the tool, too; a good User Agent would be something like github.com/topaz/name-of-tool by yourname@example.com.

caderek commented 1 year ago

Done! Please update the aocrunner package in your repo.

vegeta897 commented 1 year ago

Awesome, thanks so much for the quick response! Love this tool.