Skip to content

Commit

Permalink
Merge pull request #4 from gusingh-r7/whois
Browse files Browse the repository at this point in the history
Bug fix for empty Expiration Date
  • Loading branch information
gusingh-r7 authored Nov 13, 2019
2 parents 228d824 + ac14e5e commit 4ace5e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='python-whois-extended',
version='0.6.10',
version='0.6.11',
description='Python module/library for retrieving WHOIS information of domains. Able to extract data for all the popular TLDs (com, net, org, uk, pl, ru, lv, jp, co_jp, de, at, eu, biz, info, name, us, co, me, be, nz, cz, it, fr, kg, vc, fm, tv, edu, ca)',
long_description=open('README').read(),
author='Andrew Minkin and DDarko.org',
Expand Down
1 change: 1 addition & 0 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
google.cz
google.fr
google.lv
gotechnology.io
e2e4.online,whois.nic.ru
napaster.name,whois.nic.ru
XN--C1AAY4A.XN--P1AI
Expand Down
2 changes: 1 addition & 1 deletion whois/tld_regexpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
'registrant_cc': r'Registrant:?\s{0,}(?:[^\n][\n]?){0,}?\s{0,}Country(?:[^:]{0,}):\s?(.+)',

'creation_date': r'Creation Date:\s?(.+)',
'expiration_date': r'Expiration Date:\s?(.+)',
'expiration_date': r'Expiration Date:\n|Expiration Date:\s?(.+)',
'updated_date': r'Updated Date:\s?(.+)',

'name_servers': r'Name Server:\s*(.+)\s*',
Expand Down

0 comments on commit 4ace5e6

Please sign in to comment.