Metadata-Version: 2.1
Name: cert-host-scraper
Version: 0.5.0
Summary: 
Home-page: https://github.com/inverse/cert-host-scraper
License: MIT
Author: Malachi Soord
Author-email: inverse.chi@gmail.com
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: aiohttp[speedups] (>=3.8.1,<4.0.0)
Requires-Dist: beautifulsoup4 (>=4.10.0,<5.0.0)
Requires-Dist: click (>=8.0.3,<9.0.0)
Requires-Dist: requests (>=2.27.1,<3.0.0)
Requires-Dist: rich (>=11,<14)
Requires-Dist: single-source (>=0.3.0,<0.4.0)
Project-URL: Repository, https://github.com/inverse/cert-host-scraper
Description-Content-Type: text/markdown

# Cert Host Scraper

![CI](https://github.com/inverse/cert-host-scraper/workflows/CI/badge.svg)
[![PyPI version](https://badge.fury.io/py/cert-host-scraper.svg)](https://badge.fury.io/py/cert-host-scraper)
![PyPI downloads](https://img.shields.io/pypi/dm/cert-host-scraper?label=pypi%20downloads)
[![License](https://img.shields.io/github/license/inverse/cert-host-scraper.svg)](LICENSE)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

Query the certificate transparency log from [crt.sh](https://crt.sh) by a given a keyword and returns the status code of the matched results. Optionally filtering the results by status code.

## Usage

```bash
cert-host-scraper search your-domain.com [--status-code 200] [--clean/--no-clean]
```

## Installation

With pipx:

```bash
pipx install cert-host-scraper
```

With pip:

```bash
pip install cert-host-scraper
```

## Development

Requires [poetry][0] and Python 3.10.

```
poetry install
poetry run python -m cert_host_scraper.cli
```

## License

MIT
[0]: https://python-poetry.org

