-
Notifications
You must be signed in to change notification settings - Fork 424
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
KeyError: 'searchInformation' #90
Comments
Same problem here... UI hangs on google search and domainOsint.py crashes here: ---> Finding Paste(s).. Traceback (most recent call last): |
Same problem here, adding my paste: ---> Finding Paste(s).. Traceback (most recent call last): |
Same thing fresh install today Traceback (most recent call last): |
May have something to contribute here ... so checking the code
then manually pulling the URL up in a browser
after checking on my API I was able to actually enable it and get the script working! |
Thanks @johnlittle4550 did the same steps as I was in the exact same situation, unfortunately after enabling my API I still get the same error. I'll wait a few minutes just in case :) |
I have this error, followed john's manual browser and got this: { I've disabled key restriction for testing and will check in 5-10 to see what happens. EDIT: Disabling key restriction gets me beyond this error and onto another unrelated one. I don't want to leave it unrestricted but unsure what I should have restricted and still have it work. @johnlittle4550: When you say that you enable the API is that from Dashbaord > Enable API > Select Custom Search API? And then you begin to see stats and charts for it? Just want to be sure I've enabled it the way I think you described above. |
I got that to work. Do the following:
or If you want to find the link directly, add Comment or remove Below are few results: Title: CSGO FACEBOOK GROUPS - Pastebin.com Title: #FACEBOOK GROUP: https://m.facebook.com/groups ... Title: <iframe src="//www.facebook.com/plugins/follow?href=https%3A ... Title: https://www.facebook.com/calum.g.ferguson https://www.facebook ... Title: https://www.facebook.com/groups/828377847278404/ https://www ... |
believe this is fixed now, please check and open the issue if it still persists. |
This is still an issue for me @upgoingstar
|
If you visit https://console.developers.google.com/apis/library and type in "Custom Search API" and then click on it, you will see an "Enable" button up top. I Enabled it and thought that might have been the problem but I just tried the script again and get the same error. |
Still get the same error. I also enabled the custom search api. What to do next? |
---> Finding Paste(s)..
Traceback (most recent call last):
File "domainOsint.py", line 374, in
main()
File "domainOsint.py", line 345, in main
do_everything(domain)
File "domainOsint.py", line 135, in do_everything
total_results = google_search(domain, 1)
File "/media/ddos/DDOS/PenTest/datasploit/domain_pastes.py", line 43, in google_search
elif results['searchInformation']['totalResults'] == "0":
KeyError: 'searchInformation'
The text was updated successfully, but these errors were encountered: