Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Location of pyppeteer downloaded Chromium changed in v0.0.20 #490

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pdecat
Copy link

@pdecat pdecat commented Oct 28, 2021

Change browser download location and temporary user data directory to:

  • If $PYPPETEER_HOME environment variable is defined, use this location.
  • Otherwise, use platform dependent locations, based on appdirs:
    • 'C:\Users\<username>\AppData\Local\pyppeteer' (Windows)
    • '/Users/<username>/Library/Application Support/pyppeteer' (OS X)
    • '/home/<username>/.local/share/pyppeteer' (Linux)
    • or in '$XDG_DATA_HOME/pyppeteer' if $XDG_DATA_HOME is defined

See https://github.com/pyppeteer/pyppeteer/blob/0.0.20/CHANGES.md#version-0020-2018-08-11

On my test system:

# ls -l ~/.local/share/pyppeteer/local-chromium/
total 4
drwxrwxr-x 3 patrick patrick 4096 Oct  8 14:23 588429

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