-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Description
When attempting to parse the response for sme.sk, google.sk from whois.sk-nic.sk you get an Unexpected token error.
Running the code
#!/usr/bin/env ruby
require 'whois-parser'
record = Whois.whois("sme.sk")
parser = record.parser
p Whois::Parser::PROPERTIES
p parser.domainFails with the following error:
./rub
[:disclaimer, :domain, :domain_id, :status, :available?, :registered?, :created_on, :updated_on, :expires_on, :registrar, :registrant_contacts, :admin_contacts, :technical_contacts, :nameservers]
Traceback (most recent call last):
3: from ./rub:10:in `<main>'
2: from /var/lib/gems/2.5.0/gems/whois-parser-1.2.0/lib/whois/parser.rb:348:in `method_missing'
1: from /var/lib/gems/2.5.0/gems/whois-parser-1.2.0/lib/whois/parser.rb:327:in `domain'
/var/lib/gems/2.5.0/gems/whois-parser-1.2.0/lib/whois/parser.rb:365:in `delegate_property_to_parsers': Unable to find a parser for property `domain' (Whois::AttributeNotImplemented)
srknzl
Metadata
Metadata
Assignees
Labels
No labels