PwnedCheck
PwnedCheck copied to clipboard
Returning only empty []
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]')
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!
Thank you for the response!