cert-host-scraper 0.7.4__tar.gz → 0.7.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cert-host-scraper might be problematic. Click here for more details.
- {cert_host_scraper-0.7.4 → cert_host_scraper-0.7.6}/PKG-INFO +1 -1
- {cert_host_scraper-0.7.4 → cert_host_scraper-0.7.6}/cert_host_scraper/cli.py +2 -0
- {cert_host_scraper-0.7.4 → cert_host_scraper-0.7.6}/pyproject.toml +3 -3
- cert_host_scraper-0.7.4/setup.py +0 -37
- {cert_host_scraper-0.7.4 → cert_host_scraper-0.7.6}/LICENSE +0 -0
- {cert_host_scraper-0.7.4 → cert_host_scraper-0.7.6}/README.md +0 -0
- {cert_host_scraper-0.7.4 → cert_host_scraper-0.7.6}/cert_host_scraper/__init__.py +0 -0
- {cert_host_scraper-0.7.4 → cert_host_scraper-0.7.6}/cert_host_scraper/scraper.py +0 -0
- {cert_host_scraper-0.7.4 → cert_host_scraper-0.7.6}/cert_host_scraper/utils.py +0 -0
|
@@ -22,6 +22,8 @@ def validate_status_code(
|
|
|
22
22
|
status_code = int(value)
|
|
23
23
|
if not (100 <= status_code <= 599):
|
|
24
24
|
raise click.BadParameter("status code must be between 100 and 599")
|
|
25
|
+
|
|
26
|
+
return status_code
|
|
25
27
|
except ValueError:
|
|
26
28
|
raise click.BadParameter("must be an integer")
|
|
27
29
|
except TypeError:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "cert-host-scraper"
|
|
3
|
-
version = "0.7.
|
|
3
|
+
version = "0.7.6"
|
|
4
4
|
description = ""
|
|
5
5
|
authors = ["Malachi Soord <inverse.chi@gmail.com>"]
|
|
6
6
|
license = "MIT"
|
|
@@ -21,9 +21,9 @@ rich = ">=11,<14"
|
|
|
21
21
|
single-source = "^0.3.0"
|
|
22
22
|
|
|
23
23
|
[tool.poetry.dev-dependencies]
|
|
24
|
-
pytest = "^7.
|
|
24
|
+
pytest = "^7.4.0"
|
|
25
25
|
pytest-socket = "^0.6.0"
|
|
26
|
-
vcrpy = "^
|
|
26
|
+
vcrpy = "^5.0.0"
|
|
27
27
|
|
|
28
28
|
[tool.ruff]
|
|
29
29
|
ignore = ["E501"]
|
cert_host_scraper-0.7.4/setup.py
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
from setuptools import setup
|
|
3
|
-
|
|
4
|
-
packages = \
|
|
5
|
-
['cert_host_scraper']
|
|
6
|
-
|
|
7
|
-
package_data = \
|
|
8
|
-
{'': ['*']}
|
|
9
|
-
|
|
10
|
-
install_requires = \
|
|
11
|
-
['click>=8.0.3,<9.0.0',
|
|
12
|
-
'requests>=2.27.1,<3.0.0',
|
|
13
|
-
'rich>=11,<14',
|
|
14
|
-
'single-source>=0.3.0,<0.4.0']
|
|
15
|
-
|
|
16
|
-
entry_points = \
|
|
17
|
-
{'console_scripts': ['cert-host-scraper = cert_host_scraper.cli:cli']}
|
|
18
|
-
|
|
19
|
-
setup_kwargs = {
|
|
20
|
-
'name': 'cert-host-scraper',
|
|
21
|
-
'version': '0.7.4',
|
|
22
|
-
'description': '',
|
|
23
|
-
'long_description': '# Cert Host Scraper\n\n\n[](https://badge.fury.io/py/cert-host-scraper)\n\n[](LICENSE)\n[](https://github.com/psf/black)\n\nQuery 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.\n\n<img alt="Demo of cert-host-scraper" src="https://i.imgur.com/Co3aTfO.gif" width="800" />\n\n## Usage\n\n```bash\ncert-host-scraper search your-domain.com [--status-code 200] [--clean/--no-clean]\n```\n\n## Installation\n\nWith pipx:\n\n```bash\npipx install cert-host-scraper\n```\n\nWith pip:\n\n```bash\npip install cert-host-scraper\n```\n\n## Development\n\nRequires [poetry][0] and Python 3.10.\n\n```\npoetry install\npoetry run python -m cert_host_scraper.cli\n```\n\n## License\n\nMIT\n\n[0]: https://python-poetry.org\n',
|
|
24
|
-
'author': 'Malachi Soord',
|
|
25
|
-
'author_email': 'inverse.chi@gmail.com',
|
|
26
|
-
'maintainer': 'None',
|
|
27
|
-
'maintainer_email': 'None',
|
|
28
|
-
'url': 'https://github.com/inverse/cert-host-scraper',
|
|
29
|
-
'packages': packages,
|
|
30
|
-
'package_data': package_data,
|
|
31
|
-
'install_requires': install_requires,
|
|
32
|
-
'entry_points': entry_points,
|
|
33
|
-
'python_requires': '>=3.10,<4.0',
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
setup(**setup_kwargs)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|