Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to parse *.sk TLD #129

Open
mienkofax opened this issue Oct 22, 2019 · 1 comment
Open

Fails to parse *.sk TLD #129

mienkofax opened this issue Oct 22, 2019 · 1 comment

Comments

@mienkofax
Copy link

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.domain

Fails 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)
@istana
Copy link

istana commented Sep 22, 2020

I noticed the same issue. I can take a look on this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants