Last active
July 1, 2020 15:53
-
-
Save checchia/8b6b8bf470cad134820d6487f20d88a5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys, os, tldextract | |
def extrai_sld(dominio): | |
sld = tldextract.extract(dominio) | |
marca = sld.domain | |
return marca |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment