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

This version
History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
dtld1.0-1.0.win32.exe (194.9 kB) Copy SHA256 hash SHA256 Windows Installer any Feb 5, 2016 (4.7 kB) Copy SHA256 hash SHA256 Source None Feb 5, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page