Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Key eror #29

Open
SqLoSt opened this issue Nov 15, 2022 · 2 comments
Open

Key eror #29

SqLoSt opened this issue Nov 15, 2022 · 2 comments

Comments

@SqLoSt
Copy link

SqLoSt commented Nov 15, 2022

Eror output :

Traceback (most recent call last):
  File "/data/data/com.termux/files/home/ipdrone/ipdrone.py", line 52, in <module>
    print (b, "[ISP]:", data['isp'])
                        ~~~~^^^^^^^
KeyError: 'isp'

your code has an KeyError , should fix asap

@emleonstz
Copy link

Put your victm ip wthout brakets

@Madhav-MKNC
Copy link

KeyError can only arise when the API call fails, which is only possible when the IP address you provided was invalid or a Private IP address.

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

No branches or pull requests

3 participants