john-kurkowski / john-kurkowski/tldextract

Add some missing reserved TLDs

Open
#330 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
2k
Forks
219
PR merge metrics
No merged PRs in 30d

Description

It looks like the [following TLDs](https://www.ietf.org/archive/id/draft-chapin-rfc2606bis-00.html#new) (commonly used in local network hosts) are not in the list of TLDs (`.tld_set_snapshot`):
```
.local
.localdomain
.domain
.lan
.home
.corp
```
Edit: I just noticed the `extra_suffixes` kwarg in the `TLDExtract` class, so this may not be needed actually.
Feel free to close this issue if you think the above TLDs shouldn't be considered by default.

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect the TLD list in .tld_set_snapshot and the TLDExtract extra_suffixes kwarg. First determine whether these reserved suffixes should be included by default or remain opt-in; done means the issue's intended policy is implemented or the issue is closed with that decision documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.