Last active
February 1, 2021 22:54
-
-
Save bannsec/05fadefa5453a3c51b214018d0349394 to your computer and use it in GitHub Desktop.
This file contains 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
pyppeteer downloads a version of chrome, but doesn't bother to install deps... | |
sudo apt install -y libx11-6 libx11-xcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxi6 libxtst6 libglib2.0-0 libnss3 libcups2 libxss1 libxrandr2 libpangocairo-1.0-0 libatk1.0-0 libatk-bridge2.0-0 libgtk-3-0 | |
Also can disable sanbox if needed: | |
/usr/local/lib/python3.8/dist-packages/pyppeteer/launcher.py | |
--no-sandbox |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment