Skip to content

A tool that fetches domain categorization data from the Lightspeed Systems API, allowing you to retrieve results for individual domains and perform bulk querying of domain lists.

License

Notifications You must be signed in to change notification settings

derpbyte/lightspeed-api-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lightspeed Categorization Tool

Overview

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.

Features

  • 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.

Installation

  1. Clone the repository and navigate to it:

    git clone https://github.com/silentsparrows/lightspeed-categorization-tool.git
    cd lightspeed-categorization-tool
  2. Install required dependencies:

    pip install requirements.txt

Usage

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')

License

This project is Licensed under the MIT License. See LICENSE for details.

About

A tool that fetches domain categorization data from the Lightspeed Systems API, allowing you to retrieve results for individual domains and perform bulk querying of domain lists.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages