From daf902c20c5150a347c027ecedb0470fcbd5f809 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Fri, 21 Sep 2012 06:53:33 +0200 Subject: [PATCH] Add support for .cx domains --- pythonwhois/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pythonwhois/__init__.py b/pythonwhois/__init__.py index a460071..5ccb5be 100644 --- a/pythonwhois/__init__.py +++ b/pythonwhois/__init__.py @@ -23,6 +23,7 @@ grammar = { 'Domain record activated\s?[.]*:\s*?(?P.+)', 'Record created on\s?[.]*:?\s*?(?P.+)', 'Record created\s?[.]*:?\s*?(?P.+)', + 'Created\s?[.]*:?\s*?(?P.+)', 'Domain Registration Date\s?[.]*:?\s*?(?P.+)'], 'expiration_date': ['Expires on:\s?(?P.+)', 'Expires on\s?[.]*:\s?(?P.+)\.', @@ -32,6 +33,7 @@ grammar = { 'Domain expires\s?[.]*:\s*?(?P.+)', 'Record expires on\s?[.]*:?\s*?(?P.+)', 'Record expires\s?[.]*:?\s*?(?P.+)', + 'Expires\s?[.]*:?\s*?(?P.+)', 'Domain Expiration Date\s?[.]*:?\s*?(?P.+)'], 'updated_date': ['Database last updated on\s?[.]*:?\s*?(?P.+)\s[a-z]+\.?', 'Record last updated on\s?[.]*:\s?(?P.+)\.', @@ -42,6 +44,7 @@ grammar = { 'Last Modified\s?[.]*:\s?(?P.+)', 'Domain Last Updated Date\s?[.]*:\s?(?P.+)', 'Record last updated\s?[.]*:\s?(?P.+)', + 'Modified\s?[.]*:\s?(?P.+)', 'Last update of whois database:\s?[a-z]{3}, (?P.+) [a-z]{3}'], 'registrar': ['Registered through:\s?(?P.+)', 'Registrar Name:\s?(?P.+)',