Whois not working - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Whois not working (/thread-9089.html) |
Whois not working - mariolopes - Mar-20-2018 Hi I want to get various informations about one web site (how old he is etc...). I'm using PyCharm and the following code: import whois domain = whois.query('mariolopes.com')The code is from the page https://pypi.python.org/pypi/whois/0.6.4 Got severeal errors: Any help, please?
RE: Whois not working - nilamo - Mar-20-2018 (Mar-20-2018, 03:09 PM)mariolopes Wrote: What's the error say? According to the page you linked, the module is just a wrapper around the whois command. So you might need to install that first, so it has something to wrap around.
RE: Whois not working - DeaD_EyE - Mar-20-2018 (Mar-20-2018, 03:09 PM)mariolopes Wrote: This module is a wrapper around the unix command whois . On a Windows System the whois command is not installed.Maybe you can install this in your executable path somewhere: sysinternals-whois Try this module: https://bitbucket.org/richardpenman/pywhois If you look on pypi.python.org you'll find many whois packages. RE: Whois not working - mariolopes - Mar-20-2018 Thank you all guys Solved my problem. Thank you DeaD_EyE your instructions where great! |