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
Release files for corona 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| corona-0.1.2.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| corona-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.9 kB
Release files / corona-0.1.2.tar.gz
| Download URL | corona-0.1.2.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
566d88cfc69361a53ec23c824ef90e947b69f3f490363585bfd125e2fa8aff97
|
|
BLAKE2b-256 checksum How to use checksums |
7e5dc97c2306f85f4dc25091cc03669b4b0470b6a8e9ee9fa087a2cc462ab00b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / corona-0.1.2-py3-none-any.whl
| Download URL | corona-0.1.2-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e22021e668334457c562125bed1e3906d045e7e917f05cd33909488c5905e3f7
|
|
BLAKE2b-256 checksum How to use checksums |
9c8b854d3ece332cc5ba452ebfd852b93c78995a440b3a646477c2de884e9236
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|