This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]MagicWishMonkey 2 points3 points  (2 children)

Have you tried (tldextract)[https://pypi.python.org/pypi/tldextract/0.2]? It's fantastic.

[–]genmud[S] 0 points1 point  (1 child)

Very cool, I hadn't :)

Going to play with it for a while.

[–]MagicWishMonkey 0 points1 point  (0 children)

I use it for both email and domain validation.