diff --git a/lib/whois/parsers/whois.dns.pt.rb b/lib/whois/parsers/whois.dns.pt.rb index bca5bd0d..bf94122c 100644 --- a/lib/whois/parsers/whois.dns.pt.rb +++ b/lib/whois/parsers/whois.dns.pt.rb @@ -42,7 +42,7 @@ class WhoisDnsPt < Base end property_supported :available? do - !!(content_for_scanner =~ /^.* no match$/) + !!(content_for_scanner =~ /^.* No Match/) end property_supported :registered? do diff --git a/lib/whois/parsers/whois.nic.cl.rb b/lib/whois/parsers/whois.nic.cl.rb index 28134bd9..ec16fa89 100644 --- a/lib/whois/parsers/whois.nic.cl.rb +++ b/lib/whois/parsers/whois.nic.cl.rb @@ -35,7 +35,7 @@ class WhoisNicCl < Base end property_supported :available? do - !!(content_for_scanner =~ /^(.+?): no existe$/) + !!(content_for_scanner =~ /^(.+?): no entries found/) end property_supported :registered? do diff --git a/spec/fixtures/responses/whois.dns.pt/pt/status_available.txt b/spec/fixtures/responses/whois.dns.pt/pt/status_available.txt index c18ae524..80ecdea6 100644 --- a/spec/fixtures/responses/whois.dns.pt/pt/status_available.txt +++ b/spec/fixtures/responses/whois.dns.pt/pt/status_available.txt @@ -1 +1 @@ -u34jedzcq.pt no match \ No newline at end of file +u34jedzcq.pt - No Match\n \ No newline at end of file diff --git a/spec/fixtures/responses/whois.nic.cl/cl/status_available.txt b/spec/fixtures/responses/whois.nic.cl/cl/status_available.txt index 304dfe66..ea9d70cb 100644 --- a/spec/fixtures/responses/whois.nic.cl/cl/status_available.txt +++ b/spec/fixtures/responses/whois.nic.cl/cl/status_available.txt @@ -1 +1 @@ -u34jedzcq.cl: no existe +%%\n%% This is the NIC Chile Whois server (whois.nic.cl).\n%%\n%% Rights restricted by copyright.\n%% See https://www.nic.cl/normativa/politica-publicacion-de-datos-cl.pdf\n%%\n\u34jedzcq.cl: no entries found.\n\n \ No newline at end of file