Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.
/ pywhois Public archive

Python module for retrieving WHOIS information of domains, cloned from http://code.google.com/p/pywhois/

Notifications You must be signed in to change notification settings

OldhamMade/pywhois

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pywhois

A Python module for retrieving WHOIS information of domains.

This project has been cloned from http://code.google.com/p/pywhois/

Goal

  • Create a simple importable Python module which will produce parsed WHOIS data for a given domain.
  • Able to extract data for all the popular TLDs (com, org, net, ...)
  • Query a WHOIS server directly instead of going through an intermediate web service like many others do.
  • Works with Python 2.4+ and no external dependencies

Example

>>> import pywhois
>>> w = pywhois.whois('google.com')
>>> w.expiration_date
['14-sep-2011']
>>> w.emails
['contact-admin@google.com',
 'dns-admin@google.com',
 'dns-admin@google.com',
 'dns-admin@google.com']
>>> print w
...

About

Python module for retrieving WHOIS information of domains, cloned from http://code.google.com/p/pywhois/

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages