Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add very basic support for .edu domains #189

Merged

Conversation

wrongecho
Copy link
Contributor

I don't really code in Python, but this PR adds some basic support for .edu domains to parse the creation/expiration dates. Still requires additional later work for other fields.

Currently:

{'domain_name': 'SRU.EDU', 'registrar': None, 'whois_server': None, 'referral_url': None, 'updated_date': None, 'creation_date': None, 'expiration_date': None, 'name_servers': None, 'status': None, 'emails': None, 'dnssec': None, 'name': None, 'org': None, 'address': None, 'city': None, 'state': None, 'registrant_postal_code': None, 'country': None}

With this PR:

{'domain_name': 'SRU.EDU', 'creation_date': datetime.datetime(1993, 1, 20, 0, 0), 'expiration_date': datetime.datetime(2024, 7, 31, 0, 0)}

@richardpenman
Copy link
Owner

Thanks!

@richardpenman richardpenman merged commit 9b53475 into richardpenman:master Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants