cn.com is in the PSL list however is not being treated as a suffix
Closed this issue · 1 comments
ITJamie commented
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')
ITJamie commented
figured out the private_domains flag
tldextractor = tldextract.TLDExtract(include_psl_private_domains=True)
tld_data = tldextractor("test.cn.com")