PwnedCheck icon indicating copy to clipboard operation
PwnedCheck copied to clipboard

Returning only empty []

Open loza0269 opened this issue 6 years ago • 2 comments

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('[email protected]')

loza0269 avatar Jul 27 '18 17:07 loza0269

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!

caseydunham avatar Jul 29 '18 00:07 caseydunham

Thank you for the response!

loza0269 avatar Jul 30 '18 13:07 loza0269