What is the simplest way to execute WHOIS protocol with python?

4.4k Views Asked by At

Im looking for a library or a code module that is most reccomended for WHOIS protocol.

Note that i've been allready googling it , but i didnt found what i was looking for.

what i need is something like this :

WHOIS(ip)

and the output will be the whois information about this IP (and not url!) , and None if there isn't such.

thanks :)

1

There are 1 best solutions below

0
On

There is a recipe for doing whois.

Also this question already answered here