Created
March 11, 2019 08:33
-
-
Save sandgate-dev/467214cfbd8bcbadaa93361d61208df0 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 tldextract | |
| list = tldextract.extract('http://blog.ashiknesin.com/about') | |
| domain_name = list.domain + '.' + list.suffix | |
| # ashiknesin.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment