Repository navigation
How to install and use manuly downloaded release zip file #702
------Got this when try to download, so i try to manuly download, but how to install the zip package? on win 11 btw |
Replies: 1 comment
|
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 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 fetchThat 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 testOn the zip you already downloaded: there's no flag that installs it. from camoufox.sync_api import Camoufox
with Camoufox(executable_path=r"C:\camoufox\camoufox.exe") as browser:
page = browser.new_page()
page.goto("https://example.com")
|
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
Authorizationheader whenGITHUB_TOKENis 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:
That puts you on the 5000/hour limit, so the sync finds versions and the install goes through.
Check it worked:
On the zip you already download…