caseydunham / PwnedCheck

Python package to interact with http://haveibeenpwned.com
MIT License
38 stars 12 forks source link

Returning only empty [] #1

Open loza0269 opened 6 years ago

loza0269 commented 6 years ago

I'm not sure if issues get answered on here, but I thought I'd give it a shot. My script of a simple check only prints out [], no matter the email I enter. Even if I enter the word barf or any other string I get an empty list. So the error checking is not being done either.

import pwnedcheck

print pwnedcheck.check('test@aol.com')
caseydunham commented 6 years ago

It's been a long time since I've looked at the haveibeenpwned API and I know Troy Hunt has been doing a lot of work around it. My guess is that the API has changed. I'll take a look at it tomorrow and see what's going on. Thanks for reporting!

loza0269 commented 6 years ago

Thank you for the response!