Skip to content
This repository has been archived by the owner on Jun 28, 2020. It is now read-only.

KeyError failures on V3 and V4 #18

Open
jj98594 opened this issue Apr 15, 2020 · 0 comments
Open

KeyError failures on V3 and V4 #18

jj98594 opened this issue Apr 15, 2020 · 0 comments

Comments

@jj98594
Copy link

jj98594 commented Apr 15, 2020

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'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant