Python 不完整的 whois 结果

如何解决Python 不完整的 whois 结果

我正在尝试实现一个脚本来收集垃圾邮件发送者的数据。

我需要从 whois 请求中获取信息。

进行时(在 Google Colaboratory 上):

!pip install python-whois
import whois

whois.whois('sommeilautop.fr')

我得到以下结果:

{'creation_date': datetime.datetime(2020,2,14,8,24,1),'domain_name': 'sommeilautop.fr','emails': ['support@ovh.net','7wxs650u2ah7ijs2bofo@i.o-w-o.info','nic@nic.fr','tech@ovh.net','abuse@ovh.net'],'expiration_date': datetime.datetime(2021,1,22,4),'name_servers': ['ns-cloud-c2.googledomains.com','ns-cloud-c1.googledomains.com','ns-cloud-c3.googledomains.com','ns-cloud-c4.googledomains.com'],'registrar': 'OVH','status': ['ACTIVE','not identified'],'updated_date': datetime.datetime(2020,10,30,47)}

缺少域的所有者。

当我使用常规 whois 网站 (http://www.whois-raynette.fr/whois/sommeilautop.fr) 获取有关此域的信息时:

domain: sommeilautop.fr
status: ACTIVE
hold: NO
holder-c: ANO00-FRNIC
admin-c: M148670-FRNIC
tech-c: OVH5-FRNIC
zone-c: NFC1-FRNIC
nsl-id: NSL22136-FRNIC
registrar: OVH
Expiry Date: 2021-08-01T22:08:04Z
created: 2020-02-14T08:24:01Z
last-update: 2020-10-30T02:02:47Z
source: FRNIC

ns-list: NSL22136-FRNIC
nserver: ns-cloud-c2.googledomains.com
nserver: ns-cloud-c1.googledomains.com
nserver: ns-cloud-c3.googledomains.com
nserver: ns-cloud-c4.googledomains.com
source: FRNIC

registrar: OVH
type: Isp Option 1
address: 2 Rue Kellermann
address: 59100 ROUBAIX
country: FR
phone: +33 8 99 70 17 61
fax-no: +33 3 20 20 09 58
e-mail: support@ovh.net
website: http://www.ovh.com
anonymous: NO
registered: 1999-10-21T12:00:00Z
source: FRNIC

nic-hdl: ANO00-FRNIC
type: PERSON
contact: Ano Nymous
remarks: -------------- WARNING --------------
remarks: While the registrar kNows him/her,remarks: this person chose to restrict access
remarks: to his/her personal data. So PLEASE,remarks: don't send emails to Ano Nymous. This
remarks: address is bogus and there is no hope
remarks: of a reply.
remarks: -------------- WARNING --------------
registrar: OVH
changed: 2020-10-30T02:02:41Z anonymous@anonymous
anonymous: YES
obsoleted: NO
eligstatus: not identified
reachstatus: not identified
source: FRNIC

nic-hdl: M148670-FRNIC
type: ORGANIZATION
contact: Mesdevs
address: Mesdevs
address: 29 avenue du 8 mai 1945
address: 95200 SARCELLES
country: FR
phone: +33.629028027
e-mail: 7wxs650u2ah7ijs2bofo@i.o-w-o.info
registrar: OVH
changed: 2020-10-30T02:02:45Z nic@nic.fr
anonymous: NO
obsoleted: NO
eligstatus: not identified
reachstatus: not identified
source: FRNIC

nic-hdl: OVH5-FRNIC
type: ROLE
contact: OVH NET
address: OVH
address: 140,quai du Sartel
address: 59100 Roubaix
country: FR
phone: +33 8 99 70 17 61
e-mail: tech@ovh.net
trouble: information: http://www.ovh.fr
trouble: Questions: mailto:tech@ovh.net
trouble: Spam: mailto:abuse@ovh.net
admin-c: OK217-FRNIC
tech-c: OK217-FRNIC
notify: tech@ovh.net
registrar: OVH
changed: 2006-10-11T08:41:58Z tech@ovh.net
anonymous: NO
obsoleted: NO
eligstatus: not identified
reachstatus: not identified
source: FRNIC

我感兴趣的是组织的联系方式和地址。

有没有办法让我用 python 收集这些完整的信息?

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其他元素将获得点击?
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。)
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbcDriver发生异常。为什么?
这是用Java进行XML解析的最佳库。
Java的PriorityQueue的内置迭代器不会以任何特定顺序遍历数据结构。为什么?
如何在Java中聆听按键时移动图像。
Java“Program to an interface”。这是什么意思?
Java在半透明框架/面板/组件上重新绘画。
Java“ Class.forName()”和“ Class.forName()。newInstance()”之间有什么区别?
在此环境中不提供编译器。也许是在JRE而不是JDK上运行?
Java用相同的方法在一个类中实现两个接口。哪种接口方法被覆盖?
Java 什么是Runtime.getRuntime()。totalMemory()和freeMemory()?
java.library.path中的java.lang.UnsatisfiedLinkError否*****。dll
JavaFX“位置是必需的。” 即使在同一包装中
Java 导入两个具有相同名称的类。怎么处理?
Java 是否应该在HttpServletResponse.getOutputStream()/。getWriter()上调用.close()?
Java RegEx元字符(。)和普通点?