Skip to content
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #33 from jfranciscomn/master
Browse files Browse the repository at this point in the history
Add mx domains to tld_regexpr.py
  • Loading branch information
DannyCork authored Apr 25, 2019
2 parents fd1d442 + 35b537e commit 93d3e62
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions whois/tld_regexpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,21 @@
'status': r'status:\s?(.+)',
}


mx = {
'domain_name': r'Domain Name:\s?(.+)',
'registrant': r'Registrant:\n\s*(.+)',
'registrar': r'Registrar:\s?(.+)',
'creation_date': r'Created On:\s?(.+)',
'expiration_date': r'Expiration Date:\s?(.+)',
'updated_date': r'Last Updated On:\s?(.+)',
'name_servers': r'\sDNS:\s*(.+)',
}

sh = {
'extend': 'com',
'expiration_date': r'\nRegistry Expiry Date:\s*(.+)',
'registrant': r'\nRegistrant Organization:\s?(.+)',
'status': r'\nDomain Status:\s?(.+)',
}

0 comments on commit 93d3e62

Please sign in to comment.