功能:使用python獲取網(wǎng)站域名信息
適用版本Python2 or Python3:模塊python-whois
安裝包地址:https://pypi.python.org/pypi/python-whois
教程地址:https://bitbucket.org/richardpenman/pywhois
安裝:pip install python-whois
卸載:pip uninstall python-whois
使用方式:
import whois
whois.whois('baidu.com')