Closed hss14 closed 5 years ago
The pages work fine for me.
You can supply external data. You will need to create a Whois::Record
and feed it to the Whois::Parser
.
https://github.com/weppos/whois-parser/blob/master/lib/whois/parser.rb#L183-L189
A Whois::Record
will be composed by as many Whois::Part
as parts your response contain. I don't have an example ready, you will need to dig a bit into the definition of the Whois::Record
and Whois::Part
to instantiate them from the data you have.
The manual pages on whoisrb.org are 404. Even the code on the homepage of whoisrb.org is outdated and thus wrong, and the doc pages provide little information.
Well.... What really haunts me is that I cannot find anywhere(stackoverflow included) how I can use this library to parse whois data previously fetched by linux whois command ?