From 9f7e9444d00500d37207f71d0af63dacd59e017c Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Sat, 22 Sep 2012 21:28:56 +0200 Subject: [PATCH] Use jwhois instead of whois --- pythonwhois/__init__.py | 2 +- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pythonwhois/__init__.py b/pythonwhois/__init__.py index 67ab6b2..8ca49c9 100644 --- a/pythonwhois/__init__.py +++ b/pythonwhois/__init__.py @@ -150,7 +150,7 @@ def whois(domain): data = {} - ping = subprocess.Popen(["whois", domain], stdout = subprocess.PIPE, stderr = subprocess.PIPE) + ping = subprocess.Popen(["jwhois", domain], stdout = subprocess.PIPE, stderr = subprocess.PIPE) out, error = ping.communicate() for line in out.splitlines(): diff --git a/setup.py b/setup.py index 5241f4e..02b4270 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,8 @@ from setuptools import setup setup(name='pythonwhois', - version='1.0.0', - description='Module for retrieving and parsing the WHOIS data for a domain. Supports most domains.', + version='1.1.0', + description='Module for retrieving and parsing the WHOIS data for a domain. Supports most domains. Requires jwhois to be installed.', author='Sven Slootweg', author_email='pythonwhois@cryto.net', url='http://cryto.net/pythonwhois',