Skip to main content

Another whois scraper

Project description

Lint and test GitHub All Releases GitHub Issues GitHub PR Licence Pypi py version Last Commit

A WhoIs parser

Just a whois parser

Available countries:

  • .ar: Argentina

Sample

from whoare.whoare import WhoAre
wa = WhoAre()
wa.load('fernet.com.ar')  # optional torify=True to run "torify whois ..."

wa.domain.base_name
'fernet'
wa.domain.zone
'com.ar'
wa.domain.full_name()
'fernet.com.ar'
wa.domain.registered
datetime.datetime(2020, 5, 7, 10, 44, 4, 210977)
wa.domain.expire
datetime.datetime(2021, 5, 7, 0, 0)

wa.registrant.name
'XXXX jose XXXXX'
wa.registrant.legal_uid
'20XXXXXXXX9'
wa.dnss[0].name
'ns2.sedoparking.com'
wa.dnss[1].name
'ns1.sedoparking.com'

Get new domains

Argentina

from datetime import date
from whoare.zone_parsers.ar.news_from_blockchain import NewDomains
nd = NewDomains()
nd.data_path = ''  # here
results = nd.get_from_date(date(2020, 3, 28))

{
    'zonas': {
        'com.ar': [
            '3cconstrucciones.com.ar',
            '4kids.com.ar'
            ],
        'ar': [
            'andamios.ar',
            'apuesta.ar',
            'camaras.ar'
            ],
        'tur.ar': [
            'villacarlospaz.tur.ar'
            ]
        },
    'errors': {}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for whoare, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size whoare-0.2.1-py3-none-any.whl (20.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size whoare-0.2.1.tar.gz (17.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page