Skip to content

rogers.ca causes a key error on registrar#99

Open
justinhohner wants to merge 1 commit intojoepie91:masterfrom
justinhohner:master
Open

rogers.ca causes a key error on registrar#99
justinhohner wants to merge 1 commit intojoepie91:masterfrom
justinhohner:master

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