Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

corona

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

corona

Website Screenshot Utility

  • 0.1.2
  • PyPI
  • Socket score

Maintainers
1

Corona

Corona is essentially a basic webpage screenshot utility that uses headless Chromium via pyppeteer.

Running

.. code-block:: shell

# Download a version of Chromium to use
corona setup

# Take a snapshot
corona snap https://google.com google.png

Troubleshooting

Depending on your execution environment, you might need to disable the Chrome sandbox. To do so, add the --disable-sandbox argument; however, please be aware of the risks in doing this.

Extension

The application allows for a couple of extension points via a python script that follows this format:

.. code-block:: python

async def pre_snapshot(page):
    # Do something awesome just before the
    # snapshot here

async def post_snapshot(page):
    # Do something even more awesome after
    # the snapshot has been taken

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc