You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With .de domains, the parser (v5.1.0 gem) cannot handle the whois output format:
w = Whois::Client.new
w.lookup("google.de").parser.available?
/var/lib/gems/3.0.0/gems/whois-parser-2.0.0/lib/whois/scanners/base.rb:108:in `error!': Unexpected token: % Restricted rights. (Whois::ParserError)
%
% Terms and Conditions of Use
% ...
It seems that the parser cannot handle lines beginning with "%". (which are supposed to be free-text comments)
How can I fix thix? I tried adding this to base.rb, but this did have no effect:
tokenizer :skip_comment do
@input.skip(/^\%/)
end
The text was updated successfully, but these errors were encountered:
With .de domains, the parser (v5.1.0 gem) cannot handle the whois output format:
It seems that the parser cannot handle lines beginning with "%". (which are supposed to be free-text comments)
How can I fix thix? I tried adding this to
base.rb
, but this did have no effect:The text was updated successfully, but these errors were encountered: