All Projects → likexian → Whois Parser

likexian / Whois Parser

Licence: apache-2.0
Go(Golang) module for domain whois information parsing.

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Whois Parser

Funceble
[ARCHIVED] Please report to https://github.com/funilrys/PyFunceble.
Stars: ✭ 25 (-79.67%)
Mutual labels:  domain, whois
Parser Javascript
Browser sniffing gone too far — A useragent parser library for JavaScript
Stars: ✭ 66 (-46.34%)
Mutual labels:  parser, parsing
Errorstacks
Tiny library to parse error stack traces
Stars: ✭ 29 (-76.42%)
Mutual labels:  parser, parsing
Esprima
ECMAScript parsing infrastructure for multipurpose analysis
Stars: ✭ 6,391 (+5095.93%)
Mutual labels:  parser, parsing
Lodestone Nodejs
Character tracking and parser library for nodejs
Stars: ✭ 81 (-34.15%)
Mutual labels:  parser, parsing
Fuzi
A fast & lightweight XML & HTML parser in Swift with XPath & CSS support
Stars: ✭ 894 (+626.83%)
Mutual labels:  parser, parsing
Formula Parser
Parsing and evaluating mathematical formulas given as strings.
Stars: ✭ 62 (-49.59%)
Mutual labels:  parser, parsing
Urlextractor
Information gathering & website reconnaissance | https://phishstats.info/
Stars: ✭ 341 (+177.24%)
Mutual labels:  domain, whois
Mini Yaml
Single header YAML 1.0 C++11 serializer/deserializer.
Stars: ✭ 79 (-35.77%)
Mutual labels:  parser, parsing
Parsing With Haskell Parser Combinators
🔍 A step-by-step guide to parsing using Haskell parser combinators.
Stars: ✭ 72 (-41.46%)
Mutual labels:  parser, parsing
Meriyah
A 100% compliant, self-hosted javascript parser - https://meriyah.github.io/meriyah
Stars: ✭ 690 (+460.98%)
Mutual labels:  parser, parsing
Graphql Go Tools
Tools to write high performance GraphQL applications using Go/Golang.
Stars: ✭ 96 (-21.95%)
Mutual labels:  parser, parsing
Self Attentive Parser
High-accuracy NLP parser with models for 11 languages.
Stars: ✭ 569 (+362.6%)
Mutual labels:  parser, parsing
Jkt
Simple helper to parse JSON based on independent schema
Stars: ✭ 22 (-82.11%)
Mutual labels:  parser, parsing
Seafox
A blazing fast 100% spec compliant, self-hosted javascript parser written in Typescript
Stars: ✭ 425 (+245.53%)
Mutual labels:  parser, parsing
Logos
Create ridiculously fast Lexers
Stars: ✭ 1,001 (+713.82%)
Mutual labels:  parser, parsing
Domain Tool
微信域名拦截检测、QQ域名拦截检测:http://eson.vip ,查询有缓存,如需实时查询请自行部署。
Stars: ✭ 270 (+119.51%)
Mutual labels:  domain, whois
Kgt
BNF wrangling and railroad diagrams
Stars: ✭ 312 (+153.66%)
Mutual labels:  parser, parsing
Php Svg Lib
SVG file parsing / rendering library
Stars: ✭ 1,146 (+831.71%)
Mutual labels:  parser, parsing
Libdparse
Library for lexing and parsing D source code
Stars: ✭ 91 (-26.02%)
Mutual labels:  parser, parsing

WhoisParser

License GoDoc Build Status Go Report Card Code Cover

WhoisParser is a simple Go module for domain whois information parsing.

Overview

This module parses the provided domain whois information and returns a readable data struct.

Verified Extensions

It is supposed to be working with all domain extensions, but verified extensions must works, because I have checked them one by one manually.

If there is any problem, please feel free to open a new issue.

Binary distributions

For binary distributions of whois information query and parsing, please download whois release tool.

Installation

go get github.com/likexian/whois-parser

Importing

import (
    "github.com/likexian/whois-parser"
)

Documentation

Visit the docs on GoDoc

Example

result, err := whoisparser.Parse(whois_raw)
if err == nil {
    // Print the domain status
    fmt.Println(result.Domain.Status)

    // Print the domain created date
    fmt.Println(result.Domain.CreatedDate)

    // Print the domain expiration date
    fmt.Println(result.Domain.ExpirationDate)

    // Print the registrar name
    fmt.Println(result.Registrar.Name)

    // Print the registrant name
    fmt.Println(result.Registrant.Name)

    // Print the registrant email address
    fmt.Println(result.Registrant.Email)
}

Whois information query

Please refer to whois

License

Copyright 2014-2021 Li Kexian

Licensed under the Apache License 2.0

Donation

If this project is helpful, please share it with friends.

If you want to thank me, you can give me a cup of coffee.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].