Comments (9)
> What is the expected output? What do you see instead?
I expected to see domain expiration_date
Original comment by [email protected]
on 4 Aug 2012 at 12:25
from python-whois.
It is Python wrapper for Linux "whois" command.
I never tested it on MacOS, but if I would have moment I will check/repair this
bug.
Original comment by [email protected]
on 4 Aug 2012 at 4:59
from python-whois.
yes, whois command exists
$ whois
usage: whois [-aAbdgiIlmQrR6] [-c country-code | -h hostname] [-p port] name ...
How can I help you? I can execute something, for example...
Original comment by [email protected]
on 4 Aug 2012 at 5:09
from python-whois.
$ whois example.com
Whois Server Version 2.0
Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.
EXAMPLE.COM.RAFAELYALUFF.COM
EXAMPLE.COM.AU
EXAMPLE.COM
To single out one record, look it up with "xxx", where xxx is one of the
of the records displayed above. If the records are the same, look them up
with "=xxx" to receive a full display for each record.
>>> Last update of whois database: Sat, 04 Aug 2012 17:09:01 UTC <<<
NOTICE: The expiration date displayed in this record is the date the
registrar's sponsorship of the domain name registration in the registry is
currently set to expire. This date does not necessarily reflect the expiration
date of the domain name registrant's agreement with the sponsoring
registrar. Users may consult the sponsoring registrar's Whois database to
view the registrar's reported date of expiration for this registration.
TERMS OF USE: You are not authorized to access or query our Whois
database through the use of electronic processes that are high-volume and
automated except as reasonably necessary to register domain names or
modify existing registrations; the Data in VeriSign Global Registry
Services' ("VeriSign") Whois database is provided by VeriSign for
information purposes only, and to assist persons in obtaining information
about or related to a domain name registration record. VeriSign does not
guarantee its accuracy. By submitting a Whois query, you agree to abide
by the following terms of use: You agree that you may use this Data only
for lawful purposes and that under no circumstances will you use this Data
to: (1) allow, enable, or otherwise support the transmission of mass
unsolicited, commercial advertising or solicitations via e-mail, telephone,
or facsimile; or (2) enable high volume, automated, electronic processes
that apply to VeriSign (or its computer systems). The compilation,
repackaging, dissemination or other use of this Data is expressly
prohibited without the prior written consent of VeriSign. You agree not to
use electronic processes that are automated and high-volume to access or
query the Whois database except as reasonably necessary to register
domain names or modify existing registrations. VeriSign reserves the right
to restrict your access to the Whois database in its sole discretion to ensure
operational stability. VeriSign may restrict or terminate your access to the
Whois database for failure to abide by these terms of use. VeriSign
reserves the right to modify these terms at any time.
The Registry database contains ONLY .COM, .NET, .EDU domains and
Registrars.
Original comment by [email protected]
on 4 Aug 2012 at 5:09
from python-whois.
Also I tested on Python 2.7.3, same error. (Little note only about simplejson -
if it not installed you may try load json before exception, it's part of python
since 2.6)
Original comment by [email protected]
on 4 Aug 2012 at 5:20
from python-whois.
[deleted comment]
from python-whois.
[deleted comment]
from python-whois.
This was posted on pywhois:
http://code.google.com/p/pywhois/issues/detail?id=9#c25
You need to prepend "=" to the domain. Try this instead:
>>> import whois
>>> domain = whois.query('=google.com')
>>> domain.expiration_date
Original comment by [email protected]
on 18 Jan 2013 at 2:12
from python-whois.
Original comment by [email protected]
on 3 Feb 2013 at 9:03
- Changed state: Done
from python-whois.
Related Issues (20)
- FileNotFoundError: [Errno 2] No such file or directory: 'whois': 'whois' HOT 3
- Module doesn't work in python 3.5.3 HOT 3
- The pypi version is not same as the github version (0.9.27), has "we have " prompt under _0_init_tld.py HOT 7
- org.uk, gov.uk need fixed HOT 6
- fyi HOT 1
- Support for additional missing TLDs (.gt, .my, .za, .ch) HOT 4
- Most new registered domains has no updated time, Parse error HOT 6
- any idea about adding params: available, expired, pendingDelete HOT 5
- Code in documentation didn't work HOT 2
- .se updated date parsing error HOT 2
- I think a try-except would be better when trying more details. HOT 6
- Whois on IP HOT 3
- status whois on pipy HOT 1
- Check if domain is available, not available or in redemption period HOT 8
- cmd parameter not being passed to do_query() HOT 2
- Proposal to Archive the repo HOT 11
- Add a redis cache HOT 3
- Can't fetch domain info in .ag zone. HOT 4
- unable to lookup .pro domains HOT 4
- Can I do unlimited requests? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-whois.