A Python CLI tool for querying domain categorizations via the Lightspeed Systems API. Supports both single and bulk domain queries, as well as filtering domains by category, stored in ls.json
.
- Fetch domain categories from Lightspeed's API.
- Query single domains or process bulk domains via
links.txt
. - Filter domains by category using predefined mappings.
- Clean and user-friendly CLI with
rich
formatting.
-
Clone the repository and navigate to it:
git clone https://github.com/silentsparrows/lightspeed-categorization-tool.git cd lightspeed-categorization-tool
-
Install required dependencies:
pip install requirements.txt
Run with python main.py
for the CLI. This project also supports the following arguments:
usage: python main.py [-h] [--bulk-cr] [-d D] [-filter FILTER]
options:
-h, --help show this help message and exit
--bulk-cr Bulk query: Check categories for all domains in 'links.txt'
-d D, --d D Query a single domain (e.g., 'example.com')
-filter FILTER, --filter FILTER
Filter domains by categories (comma-separated, NO SPACES, e.g., 'general,computers')
This project is Licensed under the MIT License. See LICENSE for details.