Include raw WHOIS output

master
Sven Slootweg 12 years ago
parent 9f7e9444d0
commit bb33a423bc

@ -206,7 +206,7 @@ def whois(domain):
if data['registrar'] is not None:
data['registrar'] = remove_duplicates(data['registrar'])
return data
return out, data
def parse_dates(dates):
global grammar

@ -1,7 +1,7 @@
from setuptools import setup
setup(name='pythonwhois',
version='1.1.0',
version='1.2.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',

@ -10,7 +10,8 @@ testlist = open("testlist.txt").readlines()
# print "WHOIS for %s does not contain an update date?" % line
#result = pythonwhois.whois("google.com")
result = pythonwhois.whois(sys.argv[1])
raw, result = pythonwhois.whois(sys.argv[1])
print raw
print result
#print "Creation date: ",

Loading…
Cancel
Save