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 : or

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 = ‘

App = tld.TopLevelDomain(url)

domain = App.get_top_level_domain()



How to install


pip install dtld1.0
py -m pip install dtld1.0
py -m pip install dtld1.0

Project details

Release history Release notifications | RSS feed

This version


Download files

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

Files for dtld1.0, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size dtld1.0-1.0.win32.exe (194.9 kB) File type Windows Installer Python version any Upload date Hashes View
Filename, size (4.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page