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

Uploaded Source

Built Distribution

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

Uploaded Source

File details

Details for the file dtld1.0-1.0.zip.

File metadata

  • Download URL: dtld1.0-1.0.zip
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dtld1.0-1.0.zip
Algorithm Hash digest
SHA256 b49b0f10ac3adf8122769573c441410c0063e0b200692ebdf1a2cdff64b8e4ac
MD5 4aea97d7dd25e66b6d1a080981d5a34b
BLAKE2b-256 48693e6dbeced60b0c883e7c435d3197cdf190fa7457bc01b1c4ae2ced0fea92

See more details on using hashes here.

File details

Details for the file dtld1.0-1.0.win32.exe.

File metadata

  • Download URL: dtld1.0-1.0.win32.exe
  • Upload date:
  • Size: 194.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dtld1.0-1.0.win32.exe
Algorithm Hash digest
SHA256 7a02ba4e4b73191feb0189cbd6fc6126fa489596364b5eb67e45f790e16d2182
MD5 55fdd9f9645efdc8382957fd8a27ff16
BLAKE2b-256 f47b0ffccb07f3054089bc446d683268be30b0d6398234db552d54a6f044c543

See more details on using hashes here.

Supported by

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