Skip to content

Set a custom Reffy/* User-Agent string for all HTTP requests - #2742

Open
tidoust wants to merge 1 commit into
mainfrom
user-agent
Open

tidoust wants to merge 1 commit into
mainfrom
user-agent

Conversation

@tidoust

@tidoust tidoust commented Nov 27, 2026

Copy link
Copy Markdown
Member

This makes sure that the browser-specs code signals itself as a crawler in all HTTP requests that it sends, both not to hide that we're sending fetch requests as part of an automated workflow, and because many servers now are stricter with bots and reject requests more easily, requiring dedicated rules to allow our gentle crawling requests.

To keep things simple and avoid requiring two sets of allow rules for browser-specs and Reffy, the code identifies itself with a Reffy/* User-Agent string, because Reffy is the "real" crawler and because there are already rules in place for it.

This makes sure that the browser-specs code signals itself as a crawler in all
HTTP requests that it sends, both not to hide that we're sending fetch requests
as part of an automated workflow, and because many servers now are stricter
with bots and reject requests more easily, requiring dedicated rules to allow
our gentle crawling requests.

To keep things simple and avoid requiring two sets of allow rules for
browser-specs and Reffy, the code identifies itself with a `Reffy/*` User-Agent
string, because Reffy is the "real" crawler and because there are already rules
in place for it.
@tidoust
tidoust requested a review from Elchi3 November 27, 2026 18:37

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.

1 participant