Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions crawler-user-agents.json
Original file line number Diff line number Diff line change
Expand Up @@ -8318,18 +8318,6 @@
"ai-crawler"
]
},
{
"pattern": "AP3A\\.240617\\.008",
"url": "https://knownagents.com/agents/008",
"instances": [
"Mozilla/5.0 (Linux; Android 15; CPH2557 Build/AP3A.240617.008; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/142.0.7444.142 Mobile Safari/537.36 Instagram 406.0.0.58.159 Android (35/15; 480dpi; 1080x2400; OPPO; CPH2557; OP573DL1; mt6833; en_MY; 822918295; IABMV/1) NV/1"
],
"addition_date": "2026/04/26",
"description": "80legs web scraping service",
"tags": [
"scanner"
]
},
{
"pattern": "ApifyBot",
"url": "https://knownagents.com/agents/apifybot",
Expand Down
6 changes: 6 additions & 0 deletions test_harness.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ def test_nomatch():
assert is_crawler("!!!!!!!!!!!!") is False


def test_android_instagram_build_fingerprint_is_not_crawler():
# AP3A.240617.008 is an Android 15 platform build id on ordinary Instagram traffic.
user_agent = "Mozilla/5.0 (Linux; Android 15; CPH2557 Build/AP3A.240617.008; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/142.0.7444.142 Mobile Safari/537.36 Instagram 406.0.0.58.159 Android (35/15; 480dpi; 1080x2400; OPPO; CPH2557; OP573DL1; mt6833; en_MY; 822918295; IABMV/1) NV/1"
assert is_crawler(user_agent) is False


def test_case_sensitive():
assert is_crawler("test googlebot/2.0 test") is False

Expand Down