No (that really doesn't belong in Pywikibot), but https://publicsuffix.org/ might be what you are looking for. There are also some Python libraries available that use that, such as https://pypi.python.org/pypi/publicsuffix/ , https://pypi.python.org/pypi/publicsuffixlist and https://pypi.python.org/pypi/dnspy/ .
On 16 August 2016 at 10:05, Bináris wikiposta@gmail.com wrote:
Do we have a function that returns known TLDs?
-- Bináris
pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot