Skip to content
Discussion options

You must be logged in to vote

That 403 is GitHub's API rate limit, not a broken download. Unauthenticated calls to api.github.com get 60 requests per hour per IP, and camoufox's fetcher only adds an Authorization header when GITHUB_TOKEN is set in your environment. Without it you're sharing that 60 with everyone else behind your IP.

Make a token at github.com/settings/tokens (no scopes needed for public repos) and set it before fetching. PowerShell on Windows 11:

$env:GITHUB_TOKEN = "ghp_yourtoken"
python -m camoufox fetch

That puts you on the 5000/hour limit, so the sync finds versions and the install goes through.

Check it worked:

python -m camoufox list --path
python -m camoufox test

On the zip you already download…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by HamiguaLu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants