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.JdbcOdbc...