Repository navigation
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,oswith versions,device,brand,model,cpuandlanguages, checked against a 644 user agent gold set. verify(user_agent, ip)checks crawler IPs offline against the bundled networks of everyrdnssuffix (forward-confirmed from the iplore rDNS database) and everyrangesURL.lookup=Trueadds 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
nameandversiontoo, plusurls,emailsandsignalsexplaining why they count as bots. agents(*tags)androbots_txt(*tags, path="/")generate robots.txt rules.python -m uaidreads user agents, orIP<TAB>user agentlines, 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.jsonnow lives in the repository and is refreshed daily.