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

rogers.ca causes a key error on registrar #99

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

rogers.ca causes a key error on registrar #99

wants to merge 1 commit into from

Conversation

justinhohner
Copy link

A few more details about the bug.

$ ./pwhois --raw rogers.ca > test/data/rogers.ca
$ ./pwhois -f test/data/rogers.ca .
Traceback (most recent call last):
File "./pwhois", line 35, in
parsed = pythonwhois.parse.parse_raw_whois(data, normalized=True)
File "./python-whois/pythonwhois/parse.py", line 516, in parse_raw_whois
data["registrar"].insert(0, match.group(1).strip())
KeyError: 'registrar'

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