john-kurkowski / john-kurkowski/tldextract
Incorrect Extraction for .it.com Domains
- Dominant language
- Python
- Stars
- 2k
- Forks
- 219
- PR merge metrics
- No merged PRs in 30d
Description
I've noticed an issue attempting to use tldextract.extract on domains like test.it.com and test.ru.com where it treats the actual sld of "test" as a subdomain and "it" and "ru" as the sld with a tld of "com". Upon looking at the list TLDExtract draws from, however, I see that both tlds are there. It would be helpful if a change was made that allowed for the tlds like it.com, ru.com, sa.com, and za.com to be interpreted correctly. Let me know if you have any questions about this issue. Thank you.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the tldextract.extract entry point and reproduce the reported results for test.it.com and test.ru.com. Trace how the Public Suffix List entries are loaded and matched, then add or update coverage so these domains produce test as the domain and it.com or ru.com as the public suffix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100