Domain

•

Accurately parses domains and URLs into their constituent parts using the Public Suffix List, identifying eTLD, eTLD+1, and subdomains.

This tool provides a robust solution for accurately parsing domains and URLs. It leverages the Public Suffix List to correctly identify the effective Top-Level Domain (eTLD), the registrable domain (eTLD+1), and any subdomains, thereby avoiding the inaccuracies of naive string splitting. This ensures precise extraction of domain components, distinguishing between public suffixes like `co.uk` and registrable domains such as `bbc.co.uk`. It also flags IP addresses and indicates whether a domain is ICANN-managed or private.

主要功能

01Utilizes the Public Suffix List for precise parsing
02Flags IP addresses and indicates ICANN/private status
030 GitHub stars
04Distinguishes public suffixes from registrable domains
05Accepts both bare domains and full URLs as input
06Accurately extracts eTLD, eTLD+1, and subdomain

使用案例

01Enhancing data quality in web scraping or crawling operations
02Analyzing website URLs for reporting or categorization
03Implementing domain-based filtering or routing logic in applications