Closed ITJamie closed 1 year ago
cn.com is in the PSL list however is not being treated as a suffix
>>> tldextract.extract("test.cn.com") ExtractResult(subdomain='test', domain='cn', suffix='com')
figured out the private_domains flag
tldextractor = tldextract.TLDExtract(include_psl_private_domains=True) tld_data = tldextractor("test.cn.com")
cn.com is in the PSL list however is not being treated as a suffix