Skip to main content

Custom Top level domain extractor

Project description

# DTLD Custom Top Level domain extractor

This is an example of a top level domain : wxyz.com or qbcd.net

How it works DTLD extracts the root domain. It works by extracting from http|https|www protocol URLS

Example Code:

from dtld.dtld import TopLevelDomain as tld

url = ‘http://github.com

App = tld.TopLevelDomain(url)

domain = App.get_top_level_domain()

print(domain)

>>github.com

How to install

UNIX

pip install dtld1.0

WINDOWS
PYTHON 2

py -m pip install dtld1.0

PYTHON 3

py -m pip install dtld1.0

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dtld1.0-1.0.zip (4.7 kB view hashes)

Uploaded Source

Built Distribution

dtld1.0-1.0.win32.exe (194.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page