Use external library for getting base domain names
Instead of relying on an ever-growing list of base domain name prefixes (currently "www.", "open.", "a.rtmp."), it would be good to have a tool made specifically for this purpose. tldextract
seems like a good candidate, but would have to look into the caching and whether that’s an issue or not.