You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
366 B
Python

from . import net, parse
def get_whois(domain):
raw_data = net.get_whois_raw(domain)
return parse.parse_raw_whois(raw_data)
def whois(*args, **kwargs):
raise Exception("The whois() method has been replaced by a different method (with a different API), since pythonwhois 2.0. Either install the older pythonwhois 1.2.3, or change your code to use the new API.")