Skip to content

Commit

Permalink
Location of pyppeteer downloaded Chromium changed in v0.0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
pdecat committed Oct 28, 2021
1 parent 026c4e5 commit d21cdc2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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

0 comments on commit d21cdc2

Please sign in to comment.