From c444da8e50271e3fe00177bd2e91cff7d3528de4 Mon Sep 17 00:00:00 2001 From: HAMANO Tsukasa Date: Tue, 10 Mar 2015 21:05:59 +0900 Subject: [PATCH] add example.net exception --- pythonwhois/net.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pythonwhois/net.py b/pythonwhois/net.py index 53f87ba..87622ae 100644 --- a/pythonwhois/net.py +++ b/pythonwhois/net.py @@ -12,7 +12,8 @@ def get_whois_raw(domain, server="", previous=None, rfc3490=True, never_cut=Fals ".buzz": "whois.nic.buzz", ".moe": "whois.nic.moe", # The following is a bit hacky, but IANA won't return the right answer for example.com because it's a direct registration. - "example.com": "whois.verisign-grs.com" + "example.com": "whois.verisign-grs.com", + "example.net": "whois.verisign-grs.com" } if rfc3490: