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.

Source Distribution

whoare-0.2.10.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

whoare-0.2.10-py3-none-any.whl (23.2 kB view details)

Uploaded Python 3

File details

Details for the file whoare-0.2.10.tar.gz.

File metadata

  • Download URL: whoare-0.2.10.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for whoare-0.2.10.tar.gz
Algorithm Hash digest
SHA256 4c65c5a9fd2de8f5c50cb161caa4133a1284c906be5f5cf3376d9589ac6ece7d
MD5 b8036d7c8443dc05d8b92b6407eaa722
BLAKE2b-256 a9f07d65ea1ba27659aa62f1d1c2a0c009b86cbae2628cbae7e0d1b6b73ba247

See more details on using hashes here.

File details

Details for the file whoare-0.2.10-py3-none-any.whl.

File metadata

  • Download URL: whoare-0.2.10-py3-none-any.whl
  • Upload date:
  • Size: 23.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for whoare-0.2.10-py3-none-any.whl
Algorithm Hash digest
SHA256 1fa4df89e40c2ec91c031f8bfe4e9a348fb204cf4a46675f69fc594c0b369786
MD5 3dd6f38deebcd1511a07301c0d26352c
BLAKE2b-256 ec86ccbd1a0d6557ce21e8e2b0c8fbfb2cfc000cd0a1e7372c41aa722e4502a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page