extract domain from url or domain
About
domainextract is a sub/root domain extracter.
Install
pip install domaintldextract or pip install https://github.com/solos/pydnspod/tarball/master
Usage
import domaintldextract as dextr url = ‘http://www.baidu.com’ domain = dextr.extract_domain(url) root_domain = dextr.extract_rootdomain(url) print dextr.extract(domain)
License
MIT
Release files for domainextract 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| domainextract-0.0.1.tar.gz | 6.3 kB | Details |
Release files / domainextract-0.0.1.tar.gz
| Download URL | domainextract-0.0.1.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
597bf42bf85bb89b8f4404846a61827181aa7675f9e3d8c1b507a6780d7f7e1e
|
|
BLAKE2b-256 checksum How to use checksums |
7172f6898557a9d247cac0f38a0c7c2c9ac785692a3279a6644c150c88051de2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |