Location of pyppeteer downloaded Chromium changed in v0.0.20 by pdecat · Pull Request #490 · psf/requests-html
Navigation Menu
{{ message }}
psf / requests-html Public
- Notifications You must be signed in to change notification settings
- Fork 1k
Open
Location of pyppeteer downloaded Chromium changed in v0.0.20#490
pdecat wants to merge 1 commit intopsf:masterfrom
Location of pyppeteer downloaded Chromium changed in v0.0.20#490
pdecat wants to merge 1 commit intopsf:masterfrom
Conversation
Copy link
pdecat
commented
Oct 28, 2021
pdecat
commented
Change browser download location and temporary user data directory to:
- If
$PYPPETEER_HOMEenvironment 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_HOMEis 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
pdecat
force-pushed
the
patch-1
branch
from
b7f6268 to
d21cdc2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment