【python 域名所有者识别】python 识别网站域名 所有者
来源:互联网 发布:开淘宝店好做吗 编辑:程序博客网 时间:2024/05/17 22:57
对于一些网站,我们可能会关心其所有者是谁。为了找到网站的所有者,我们可以使用WHOIS协议查询域名的注册者是谁。Python中有一个对该协议的封装库。我们可以通过pip进行安装。
pip install python-whois
导入模块 import whois
>>> import whois>>> whois.whois('https://www.cgtz.com/'){u'updated_date': datetime.datetime(2017, 4, 6, 1, 36, 52), u'status': [u'clientTransferProhibited https://icann.org/epp#clientTransferProhibited', u'clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited', u'clientTransferProhibited http://www.icann.org/epp#clientTransferProhibited', u'clientUpdateProhibited http://www.icann.org/epp#clientUpdateProhibited'], u'name': u'Nexperian Holding Limited', u'dnssec': u'unsigned', u'city': u'Hangzhou', u'expiration_date': datetime.datetime(2025, 7, 12, 18, 24, 22), u'zipcode': u'311121', u'domain_name': [u'CGTZ.COM', u'cgtz.com'], u'country': u'CN', u'whois_server': u'grs-whois.hichina.com', u'state': u'Zhejiang', u'registrar': u'HICHINA ZHICHENG TECHNOLOGY LTD.', u'referral_url': None, u'address': u'Le Jia International No.999 Liang Mu Road Yuhang District', u'name_servers': [u'VIP1.ALIDNS.COM', u'VIP2.ALIDNS.COM', u'vip1.alidns.com', u'vip2.alidns.com'], u'org': u'Nexperian Holding Limited', u'creation_date': datetime.datetime(2008, 7, 12, 18, 24, 22), u'emails': [u'DomainAbuse@service.aliyun.com', u'YuMing@YinSiBaoHu.AliYun.com']}>>>
阅读全文
0 0
- 【python 域名所有者识别】python 识别网站域名 所有者
- Python寻找网站所有者
- 电脑网站识别手机浏览,把域名换成手机域名
- 《用python写网络爬虫》--寻找网站所有者
- python识别网站所用技术
- CAA检查成为强制 保护域名所有者免于误签发证书
- python域名查询工具
- python解析域名
- python builtwith识别网站所用技术
- 【python 爬虫】识别网站所用技术
- python-简单验证码识别-保监会网站
- 识别不同域名访问不同主页
- 【python 图像识别】python 身份证号码识别
- Python 正则表达式验证域名
- 从url获取域名 python
- python ip反查域名
- 域名遍历搜索python实现
- python解析URL中的域名
- Jdk1.8覆盖了原来1.7的版本,如何还原到1.7版本?
- CSS之transition属性
- zip伪加密
- 如果同一条记录同时多个进程可能对不同的字段进行修改,怎么保证列锁?
- 线程间机制(同步和互斥)
- 【python 域名所有者识别】python 识别网站域名 所有者
- hdu1358 KMP中next数组的应用
- struts2中css,js等资源无效 非路径问题(新手问题)
- Faster RCNN的理解点
- Handler由浅入深(二)--Handler的实现原理以及Looper、Handler、Message三者之间的关系
- leetcode复习总结
- Makefile构建工程设计——工程构建与编写规则
- qr二维码遇到的一些问题
- 第二十一篇 jQuery 学习3 特效效果