python查询whois信息

\

#站长之家查询whois信息
import urllib.request
req_whois = urllib.request.urlopen('http://whois.chinaz.com/')
# print(req_whois.read().decode())

import whois
data = whois.whois("wjw.huzhou.gov.cn")
print(data)
需要安装python-whois模块
奶奶问孙子:4+1等于几 孙子说:等于6-1。 奶奶说:你明明知道答案,为什么不说? 孙子说:年轻人不讲5的……..
原文地址:https://www.cnblogs.com/jasy/p/13947134.html