Skip to content

Remove Android build fingerprint from crawler patterns - #476

Open
mvanhorn wants to merge 1 commit into
monperrus:masterfrom
mvanhorn:fix/466-remove-android-build-fingerprint
Open

mvanhorn wants to merge 1 commit into
monperrus:masterfrom
mvanhorn:fix/466-remove-android-build-fingerprint

Conversation

@mvanhorn

Copy link
Copy Markdown

Motivation

Ordinary Android 15 Instagram traffic is classified as the 80legs scraper because its user agent contains the platform build identifier AP3A.240617.008.

The crawler pattern treated a common Android platform fingerprint as a unique 80legs identifier, so any matching handset traffic was flagged as a crawler.

Summary

Removes the AP3A\.240617\.008 crawler entry and its ordinary Instagram example. Adds a regression test asserting that this Android user agent is not classified as a crawler.

How it was tested

The test suite could not be collected because the crawleruseragents module was unavailable. The tests in test_harness.py fail without the fix in the crawler-user-agents change (checked by reverting the source changes).

Closes #466

Removes the `AP3A\.240617\.008` crawler entry and its ordinary Instagram
example. Adds a regression test asserting that this Android user agent
is not classified as a crawler.

Fixes monperrus#466

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AP3A.240617.008 is Android 15's platform build fingerprint, not 80legs

1 participant