Skip to content

Releases

2.0.0

Choose a tag to compare

@tn3w tn3w released this 21 Nov 16:53
6df833a

Breaking: identify now describes every user agent and returns a dict for browsers too, with bot telling the two apart. Keys without a value are left out.

  • Browser identification from browsers.json: browser, engine, os with versions, device, brand, model, cpu and languages, checked against a 644 user agent gold set.
  • verify(user_agent, ip) checks crawler IPs offline against the bundled networks of every rdns suffix (forward-confirmed from the iplore rDNS database) and every ranges URL. lookup=True adds a live forward-confirmed reverse DNS check for addresses the data does not know yet. networks(ip) lists the crawler networks containing an address.
  • Unknown bots get a name and version too, plus urls, emails and signals explaining why they count as bots.
  • agents(*tags) and robots_txt(*tags, path="/") generate robots.txt rules.
  • python -m uaid reads user agents, or IP<TAB>user agent lines, and prints JSON.
  • Results are cached, rules are looked up through trigram indexes, and import takes about 19 ms.
  • rDNS suffixes and official IP range URLs added for about 150 more crawlers.
  • Builds work offline: crawler-ips.json now lives in the repository and is refreshed daily.

1.3.0

Choose a tag to compare

@tn3w tn3w released this 20 Nov 15:59
07781e7
  • identify returns the crawler name.
  • rDNS fixes: Amazonbot verifies against .crawl.amazonbot.amazon. Google crawlers use .googlebot.com and .google.com instead of .googleusercontent.com, which any Google Cloud VM can carry; user-triggered fetchers keep .gae.googleusercontent.com. .amazonaws.com is no longer accepted, and Perplexity's unusable suffix is removed.
  • rDNS suffixes added for Dataprovider, Barkrowler, Recorded Future and RiverBot.
  • New crawlers, including Codex, DoubaoBot, Crawlspace, GeneralRetrieval, Xiaohongshu sitemap crawler and Node.js fetch, and many new observed instances.

1.1.2

Choose a tag to compare

@tn3w tn3w released this 15 Nov 09:19
7f64e07

Fixes crawler precedence so the actual bot wins over the library or engine it runs on, e.g. ShapBot over Lightpanda, Puppeteer/Yext/Prerender over HeadlessChrome, VirusTotal over App Engine, Lumar over its Googlebot user agent, WPScan and Jetmon over a loose WordPress rule, and Pingdom over PageSpeed. Merges 14 duplicate entries and removes the MDDS rule, an OEM token found in regular browser user agents (4492 → 4477). New tests require every instance to identify as its own entry and every rule to belong to one entry.

1.1.1

Choose a tag to compare

@tn3w tn3w released this 15 Nov 08:33
0ed01cd

Adds 6 crawlers (4486 → 4492) seen in data.tn3w.dev crawler traffic: email-guesser, Metabase CVE detection probe, TechLeadsBot, msh-pdfmin, FXMacroData research and BigCrawl. email-guesser and the Metabase probe were previously not detected as bots.

robots.txt stats

Choose a tag to compare

@tn3w tn3w released this 15 Nov 16:32
698632d

Daily robots.txt stats for the top 25,000 Tranco sites. See README.

1.1.0

Choose a tag to compare

@tn3w tn3w released this 14 Nov 22:14
ce9857f

Adds 1570 crawlers (2916 → 4486) imported from monperrus/crawler-user-agents, arcjet/well-known-bots, matomo device-detector, ai.robots.txt, browscap, Crawler-Detect, isbot, herrbischoff/user-agents, user-agents.net and the-art-of-web. All rules are plain substring matches validated against the 30k browser test corpus.

v1.0.0

Choose a tag to compare

@tn3w tn3w released this 14 Nov 21:05
6ee2e11

Production release: 14x faster lookups via trigram index, None-safe API, independent result copies, undici entry, tests across Python 3.10-3.14.

v0.1.0

Choose a tag to compare

@tn3w tn3w released this 14 Nov 20:57
403e5de

First release: known crawler identification and bot detection heuristic.