from Hacker News

Random User Agent

by varun_chopra on 12/18/22, 5:08 AM with 1 comments

  • by varun_chopra on 12/18/22, 5:12 AM

    This post is inspired by the post currently on the frontpage.

    This is a small website I'd created a while back to get a random UA string in a way as simple as:

    % curl usera.gent

    Mozilla/5.0 (Linux; Android 11; Mi 9T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.78 Mobile Safari/537.36

    I'd built a lot of scrapers and instead of building out randomized UA generation for each of them, I built this.