From a69a343f75c5114a0b2fac530842b94ad86daaa0 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Tue, 8 Oct 2013 23:55:05 +0200 Subject: [PATCH] Ensure all redirection data is also shown --- pythonwhois/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pythonwhois/__init__.py b/pythonwhois/__init__.py index e0fdf8f..9b9231b 100644 --- a/pythonwhois/__init__.py +++ b/pythonwhois/__init__.py @@ -165,7 +165,7 @@ def whois(domain): except UnicodeError, e: encoded_domain = domain - ping = subprocess.Popen(["jwhois", encoded_domain], stdout = subprocess.PIPE, stderr = subprocess.PIPE) + ping = subprocess.Popen(["jwhois", "-i", encoded_domain], stdout = subprocess.PIPE, stderr = subprocess.PIPE) out, error = ping.communicate() for line in out.splitlines():