Skip to main content

Website Screenshot Utility

Project description

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

Running

# 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:

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
corona-0.1.2-py3-none-any.whl (3.8 kB) Copy SHA256 hash SHA256 Wheel py3
corona-0.1.2.tar.gz (3.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page