Created
May 23, 2014 20:20
-
-
Save bsmartt13/b839a9506e520af3877a to your computer and use it in GitHub Desktop.
output from google apps version of tldextract project
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
ninja:~ bsmartt$ curl "http://tldextract.appspot.com/api/extract?url=http://blogspot.com" | |
{"domain": "", "subdomain": "", "suffix": "blogspot.com", "tld": "blogspot.com"} | |
ninja:~ bsmartt$ curl "http://tldextract.appspot.com/api/extract?url=http://www.blogspot.com" | |
{"domain": "www", "subdomain": "", "suffix": "blogspot.com", "tld": "blogspot.com"} | |
ninja:~ bsmartt$ curl "http://tldextract.appspot.com/api/extract?url=http://herokuapp.com" | |
{"domain": "", "subdomain": "", "suffix": "herokuapp.com", "tld": "herokuapp.com"} | |
ninja:~ bsmartt$ curl "http://tldextract.appspot.com/api/extract?url=http://herokuapp.com" | |
{"domain": "", "subdomain": "", "suffix": "herokuapp.com", "tld": "herokuapp.com"} | |
ninja:~ bsmartt$ curl "http://tldextract.appspot.com/api/extract?url=http://www.herokuapp.com" | |
{"domain": "www", "subdomain": "", "suffix": "herokuapp.com", "tld": "herokuapp.com"} | |
ninja:~ bsmartt$ curl "http://tldextract.appspot.com/api/extract?url=http://www.www.herokuapp.com" | |
{"domain": "www", "subdomain": "www", "suffix": "herokuapp.com", "tld": "herokuapp.com"} | |
ninja:~ bsmartt$ curl "http://tldextract.appspot.com/api/extract?url=http://google.com" | |
{"domain": "google", "subdomain": "", "suffix": "com", "tld": "com"} | |
ninja:~ bsmartt$ curl "http://tldextract.appspot.com/api/extract?url=http://www.google.com" | |
{"domain": "google", "subdomain": "www", "suffix": "com", "tld": "com”} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment