From cc2f209d5235ac991cba47e8d60e10f51f8221ac Mon Sep 17 00:00:00 2001 From: Christian Koepp Date: Tue, 18 Feb 2014 15:54:59 +0100 Subject: [PATCH] Update net.py --- pythonwhois/net.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pythonwhois/net.py b/pythonwhois/net.py index 1b2103d..d33945e 100644 --- a/pythonwhois/net.py +++ b/pythonwhois/net.py @@ -9,7 +9,7 @@ def get_whois_raw(domain, server="", previous=[]): target_server = server if domain.endswith(".jp") and target_server == "whois.jprs.jp": request_domain = "%s/e" % domain # Suppress Japanese output - elif domain.endswith(".de"): + elif domain.endswith(".de") and ( target_server == "whois.denic.de" or target_server == "de.whois-servers.net" ): request_domain = "-T dn,ace -C US-ASCII %s" % domain # regional specific stuff elif target_server == "whois.verisign-grs.com": request_domain = "=%s" % domain # Avoid partial matches