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.

Files for corona, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size corona-0.1.2-py3-none-any.whl (3.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size corona-0.1.2.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page