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.

Source Distribution

corona-0.1.2.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

corona-0.1.2-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page