Property 'domain' not implemented to RegistroBR parser
Closed this issue · 3 comments
anacarolinacastro commented
The property 'domain' is not implemented on RegistroBR parser.
> record = Whois.whois("casarobertomarinho.org.br")
> parser = Whois::Parser.new(record)
> parser.domain
Whois::AttributeNotImplemented: Unable to find a parser for property `domain'
weppos commented
Correct, it's not.
https://github.com/weppos/whois-parser/blob/master/lib/whois/parsers/whois.registro.br.rb
Feel free to provide a PR. Actually, the domain property has little sense to me as it's basically whatever query you passed to the whois argument.
Any reason for needing it?
anacarolinacastro commented
My commit fixes it:
Answering your question, I work with one application that expects that this property exists, but is currently broken. The other parsers have this, so I thought that would be better that way.