Another whois scraper
Project description
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
Release history Release notifications | RSS feed
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.2.tar.gz
(17.4 kB
view details)
Built Distribution
whoare-0.2.2-py3-none-any.whl
(20.8 kB
view details)
File details
Details for the file whoare-0.2.2.tar.gz
.
File metadata
- Download URL: whoare-0.2.2.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 779015990e3a60ce600fd2070562c15f93c1d260affc65f4df30408ea83df8a5 |
|
MD5 | 57efaa4dddda66bcc7e9f6fdf38afda6 |
|
BLAKE2b-256 | 1d793b247f062fb19eb5ca291f4c7cad9f31f64ad6729cc378577803a62b1a01 |
File details
Details for the file whoare-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: whoare-0.2.2-py3-none-any.whl
- Upload date:
- Size: 20.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d3c502920db5bbabe325bdcf2dd65cc490122ed0801f3b2f6b2be995e108341 |
|
MD5 | 6f01673badd41b989e1b1e4477bc6cb2 |
|
BLAKE2b-256 | b237c05beaea38ff4860cb687814adaee72041a157ed65d047d9a5abb64bb549 |