Search certificate transparency logs - via crt.sh or certkit.io - for hostnames matching a keyword. Each result is probed and shown with its HTTP status code or failure class, and results can be filtered by status code or error type, with output as a table or JSON.
Installation
With [pipx]:
pipx install cert-host-scraper
With pip:
pip install cert-host-scraper
Usage
Once installed you can look up information about a domain using the search command:
cert-host-scraper search your-domain.com
There are additional options that can be provided to change this behaviour and result filtering.
Pass --help to this command for a full list of options.
Development
Requires uv and Python 3.10+.
uv sync uv run python -m cert_host_scraper.cli
Testing
Run the test suite:
Run with a new fixture, first remove the old; than run with record mode:
rm fixtures/vcr/fetch_site_information_valid.yaml mise run test:record
License
MIT
