A Python package to capture a trimmed screenshot of the SSL Labs report for a given domain.
Project description
SSL Labs Screenshot
A Python package to capture a trimmed screenshot of the SSL Labs report for a given domain.
Requirements
- Python 3.6
- Chrome browser (version 89 or later)
- ChromeDriver
Installation
- Install using pip:
pip install ssl-labs-screenshot
- Download the latest version of ChromeDriver from the following link: https://sites.google.com/chromium.org/driver/downloads
- Extract the contents of the downloaded ZIP file.
- Either move the ChromeDriver executable to a directory that is already included in your system's
PATH
environment variable, or add the directory containing the extracted ChromeDriver executable to your system'sPATH
variable.
Usage
Run the script with the following command:
ssl-labs-screenshot domain.com
Replace domain.com with the domain you want to test. The script will open a headless Chrome browser and load the SSL Labs report for the domain. It will capture a temporary screenshot of the report and save it as a PNG file in the same directory as the script, with the name domain_report_tmp.png. The script will delete the temporary screenshot after the trimmed image is created with the name domain_report.png
Limitations
The script only captures the first server's report for domains with multiple servers.
License
The scripts and documentation in this project are released under the MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ssl-labs-screenshot-1.0.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e03dd76822f01af3e688d113f520f7887f5cf69908f63c73b69703cdb0d75391 |
|
MD5 | 90cdc1fc74e915c33ab9088ca073b261 |
|
BLAKE2b-256 | a837737c88da8fd20cb21e562c79e00c9c37235180f52aa54bc7e702aee25c6c |
Hashes for ssl_labs_screenshot-1.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ca3e61fa0ba5fcd00a71a7d5a5a1d023496a5bddb78fdaec5cd914921034b0b |
|
MD5 | fdffff62e3914480a15d5b5a3056164e |
|
BLAKE2b-256 | 89d36f6cddbff0829954e69e256f791f335c1e7a88ca0b2ee81d8ceb71dcbae2 |