No.
I can imagine it would be quite useful.
Here are some options:
https://pypi.python.org/pypi?%3Aaction=search&term=Tld&submit=search
Packages tld and tldextract both provide that, and more
https://github.com/john-kurkowski/tldextract/blob/master/tldextract/tldextr…
We could provide a wrapper method. Could you create a task in Phabricator.
Adding how it wil, be used will be helpful.
On Tue, 16 Aug 2016 15:14 Bináris, <wikiposta(a)gmail.com> wrote:
Do we have a function that returns known TLDs?
--
Bináris
_______________________________________________
pywikibot mailing list
pywikibot(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot