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

Whois::ParserError (Unexpected token: discord.gg) #78

Open
pusewicz opened this issue Apr 24, 2018 · 2 comments
Open

Whois::ParserError (Unexpected token: discord.gg) #78

pusewicz opened this issue Apr 24, 2018 · 2 comments

Comments

@pusewicz
Copy link

The library chokes on the discord.gg domain.

Whois.whois('discord.gg').parser.nameservers
@pusewicz
Copy link
Author

pusewicz commented May 9, 2018

This is the output of the whois:

Domain:
     google.gg

Domain Status:
     Active
     Update Prohibited by Registrar
     Delete Prohibited by Registrar
     Transfer Prohibited by Registrar

Registrant:
     Google Inc.

Registrar:
     MarkMonitor Inc. (http://www.markmonitor.com)

Relevant dates:
     Registered on 30th April 2003
     Registry fee due on 30th April each year

Registration status:
     Registered until cancelled

Name servers:
     ns1.google.com
     ns2.google.com
     ns3.google.com
     ns4.google.com


WHOIS lookup made on Wed, 9 May 2018 at 6:58:25 UTC

This WHOIS information is provided for free by CIDR, operator of
the backend registry for domain names ending in GG, JE, and AS.

Copyright (c) and database right Island Networks 1996 - 2018.

You may not access this WHOIS server or use any data from it except
as permitted by our Terms and Conditions which are published
at http://www.channelisles.net/legal/whoisterms

They include restrictions and prohibitions on

- using or re-using the data for advertising;
- using or re-using the service for commercial purposes without a licence;
- repackaging, recompilation, redistribution or reuse;
- obscuring, removing or hiding any or all of this notice;
- exceeding query rate or volume limits.

The data is provided on an 'as-is' basis and may lag behind the
register. Access may be withdrawn or restricted at any time.

Looks like it has changed.

@weppos I'm more than happy to update the current parser. It looks like the https://github.com/weppos/whois-parser/blob/master/lib/whois/parsers/whois.nic.as.rb would handle it. Should I just subclass it instead of using the bocca2 base?

@modsognir
Copy link

Running into this problem as well with other .gg domains.

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