Giter Club home page Giter Club logo

Comments (9)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
> 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.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
$ 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.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
[deleted comment]

from python-whois.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
[deleted comment]

from python-whois.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024

Original comment by [email protected] on 3 Feb 2013 at 9:03

  • Changed state: Done

from python-whois.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.