equal
deleted
inserted
replaced
625 |
625 |
626 |
626 |
627 class WhoisFr(WhoisEntry): |
627 class WhoisFr(WhoisEntry): |
628 """Whois parser for .fr domains |
628 """Whois parser for .fr domains |
629 """ |
629 """ |
|
630 dayfirst = True |
|
631 |
630 regex = { |
632 regex = { |
631 'domain_name': 'domain: *(.+)', |
633 'domain_name': 'domain: *(.+)', |
632 'registrar': 'registrar: *(.+)', |
634 'registrar': 'registrar: *(.+)', |
633 'creation_date': 'created: *(.+)', |
635 'creation_date': 'created: *(.+)', |
634 'expiration_date': 'Expir\w+ Date:\s?(.+)', |
636 'expiration_date': 'Expir\w+ Date:\s?(.+)', |
838 regex = { |
840 regex = { |
839 'domain_name': 'DOMAIN NAME: *(.+)\n', |
841 'domain_name': 'DOMAIN NAME: *(.+)\n', |
840 'status': 'registration status: s*(.+)', |
842 'status': 'registration status: s*(.+)', |
841 'expiration_date': 'expires at: *(.+)', |
843 'expiration_date': 'expires at: *(.+)', |
842 } |
844 } |
843 |
|
844 dayfirst = True |
845 dayfirst = True |
845 |
846 |
846 def __init__(self, domain, text): |
847 def __init__(self, domain, text): |
847 if 'does not exist in database!' in text: |
848 if 'does not exist in database!' in text: |
848 raise PywhoisError(text) |
849 raise PywhoisError(text) |
1292 'phone': 'phone: *(.+)', |
1293 'phone': 'phone: *(.+)', |
1293 'name_servers': 'nserver: *(.+)', |
1294 'name_servers': 'nserver: *(.+)', |
1294 'registrar': 'registrar name: *(.+)', |
1295 'registrar': 'registrar name: *(.+)', |
1295 'referral_url': 'registrar info: *(.+)', |
1296 'referral_url': 'registrar info: *(.+)', |
1296 } |
1297 } |
1297 |
|
1298 dayfirst = True |
1298 dayfirst = True |
1299 |
1299 |
1300 def __init__(self, domain, text): |
1300 def __init__(self, domain, text): |
1301 if 'No data was found' in text: |
1301 if 'No data was found' in text: |
1302 raise PywhoisError(text) |
1302 raise PywhoisError(text) |