.FR tlds: fix expiration date parser.
authorNicolas Ferrari <nferrari@alwaysdata.com>
Thu, 11 Feb 2016 17:02:03 +0000
changeset 66 07bc0807492c
parent 65 50b5966b5566
child 67 25bab46f7281
.FR tlds: fix expiration date parser.
whois/parser.py
--- a/whois/parser.py	Mon Sep 14 15:19:11 2015 +0100
+++ b/whois/parser.py	Thu Feb 11 17:02:03 2016 +0000
@@ -548,7 +548,7 @@
         'domain_name': 'domain:\s*(.+)',
         'registrar': 'registrar:\s*(.+)',
         'creation_date': 'created:\s*(.+)',
-        'expiration_date': 'anniversary:\s*(.+)',
+        'expiration_date': 'Expir\w+ Date:\s?(.+)',
         'name_servers': 'nserver:\s*(.+)',  # list of name servers
         'status': 'status:\s*(.+)',  # list of statuses
         'emails': '[\w.-]+@[\w.-]+\.[\w]{2,4}',  # list of email addresses