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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file corona-0.1.2.tar.gz.

File metadata

  • Download URL: corona-0.1.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

File hashes

Hashes for corona-0.1.2.tar.gz
Algorithm Hash digest
SHA256 566d88cfc69361a53ec23c824ef90e947b69f3f490363585bfd125e2fa8aff97
MD5 352f9587effb8153dc683a4b500a383d
BLAKE2b-256 7e5dc97c2306f85f4dc25091cc03669b4b0470b6a8e9ee9fa087a2cc462ab00b

See more details on using hashes here.

File details

Details for the file corona-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: corona-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

File hashes

Hashes for corona-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e22021e668334457c562125bed1e3906d045e7e917f05cd33909488c5905e3f7
MD5 69a7411f76873052db1ba2ba37d07383
BLAKE2b-256 9c8b854d3ece332cc5ba452ebfd852b93c78995a440b3a646477c2de884e9236

See more details on using hashes here.

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