Skip to content

Instantly share code, notes, and snippets.

@bannsec
Last active February 1, 2021 22:54
Show Gist options
  • Save bannsec/05fadefa5453a3c51b214018d0349394 to your computer and use it in GitHub Desktop.
Save bannsec/05fadefa5453a3c51b214018d0349394 to your computer and use it in GitHub Desktop.
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