woj-ciech/LeakLooker

KeyError failures on V3 and V4

jj98594 opened this issue · 0 comments

I think BinaryEdge changed something. V3 used to work fine. I haven't been able to get V4 to work, so I rolled back, and they are both throwing this error:

Traceback (most recent call last):
File "v3-leaklooker.py", line 286, in check_listing
print("Product: " + Fore.MAGENTA + service['result']['data']['service']['product'] + Fore.RESET)
KeyError: 'service'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "v3-leaklooker.py", line 424, in
check_listing(listing_results)
File "v3-leaklooker.py", line 293, in check_listing
print("Status code: " + str(service['result']['data']['response']['statusCode']))
KeyError: 'statusCode'