Skip to content

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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ Or you can do this async also:
The rest of the code operates the same way as the synchronous version except that ``results`` is a list containing multiple response objects however the same basic processes can be applied as above to extract the data you want.

Note, the first time you ever run the ``render()`` method, it will download
Chromium into your home directory (e.g. ``~/.pyppeteer/``). This only happens
Chromium into your home directory (e.g. ``~/.local/share/pyppeteer/``). This only happens
once.

Using without Requests
Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ Or you can do this async also:
'<time>25</time>'

Note, the first time you ever run the ``render()`` method, it will download
Chromium into your home directory (e.g. ``~/.pyppeteer/``). This only happens
Chromium into your home directory (e.g. ``~/.local/share/pyppeteer/``). This only happens
once. You may also need to install a few `Linux packages <https://github.com/miyakogi/pyppeteer/issues/60>`_ to get pyppeteer working.

Pagination
Expand Down
2 changes: 1 addition & 1 deletion requests_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ def render(self, retries: int = 8, script: str = None, wait: float = 0.2, scroll
{'width': 800, 'height': 600, 'deviceScaleFactor': 1}

Warning: the first time you run this method, it will download
Chromium into your home directory (``~/.pyppeteer``).
Chromium into your home directory (``~/.local/share/pyppeteer``).
"""

self.browser = self.session.browser # Automatically create a event loop and browser
Expand Down