Name : python-tldextract
| |
Version : 2.0.1
| Vendor : obs://build_opensuse_org/devel:languages:python
|
Release : 1.2
| Date : 2018-01-26 12:01:01
|
Group : Productivity/Networking/DNS/Utilities
| Source RPM : python-tldextract-2.0.1-1.2.src.rpm
|
Size : 0.15 MB
| |
Packager : (none)
| |
Summary : Accurately separate the TLD from the registered domain and subdomains of an URL
|
Description :
tldextract accurately separates the gTLD or ccTLD (generic or country code top-level domain) from the registered domain and subdomains of a URL. For example, say you want just the \'google\' part of \'http://www.google.com\'.
Everybody gets this wrong. Splitting on the \'.\' and taking the last 2 elements goes a long way only if you\'re thinking of simple e.g. .com domains. Think parsing http://forums.bbc.co.uk for example: the naive splitting method above will give you \'co\' as the domain and \'uk\' as the TLD, instead of \'bbc\' and \'co.uk\' respectively.
tldextract on the other hand knows what all gTLDs and ccTLDs look like by looking up the currently living ones according to the Public Suffix List. So, given a URL, it knows its subdomain from its domain, and its domain from its country code.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/python/SLE_12_SP2_Backports/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
python-tldextract
Requires :