Edit README.md

This commit is contained in:
Larry Kim 2013-05-14 17:19:32 +09:00
parent 2f951739e1
commit 50fb61f03c

View File

@ -6,15 +6,15 @@ The whois library, which is developed in Python language, retrieves domain infor
Quick start Quick start
----------- -----------
1. Install the library Install the library
python setup.py install python setup.py install
2. Run Python interpreter Run Python interpreter
python python
3. To get whois data of example.com To get whois data of example.com
import whois import whois
whoisData = whois.whois("example.com").query() whoisData = whois.whois("example.com").query()
@ -23,7 +23,7 @@ whois.whois will return tuple type, which contains whois server address and the
To parse whois data, To parse whois data,
>>> result = whois.parser("example.com", whoisData[1]) result = whois.parser("example.com", whoisData[1])
Some whois servers of top level domains (like .com and .net) send redirect command in order to let clients to get more information, like address and phone number, from whois server of domain reseller. However, all whois servers have all different data format. So if you want parse the whois data more accurately, I recommend to set "redirect" parameter to `False` when querying, or if you want detailed information, please add data format of the whois server to tld config file and make a pull request. Some whois servers of top level domains (like .com and .net) send redirect command in order to let clients to get more information, like address and phone number, from whois server of domain reseller. However, all whois servers have all different data format. So if you want parse the whois data more accurately, I recommend to set "redirect" parameter to `False` when querying, or if you want detailed information, please add data format of the whois server to tld config file and make a pull request.