HQ_Bot icon indicating copy to clipboard operation
HQ_Bot copied to clipboard

No Results

Open deviharisakthi opened this issue 6 years ago • 69 comments

It's showing 0 percentage for all three results plz help

deviharisakthi avatar Feb 27 '18 04:02 deviharisakthi

I'm going to need more info, im not a wizard who can figure out why it doesnt work for you

sushant10 avatar Feb 27 '18 04:02 sushant10

when i runthe sampq command it's showing questions and 3 answers but each answers is showing 0 percantage

deviharisakthi avatar Feb 27 '18 05:02 deviharisakthi

i'm going to need more than that. Did you change any code?

sushant10 avatar Feb 27 '18 05:02 sushant10

no

deviharisakthi avatar Feb 27 '18 05:02 deviharisakthi

How long is each answer taking?

sushant10 avatar Feb 27 '18 05:02 sushant10

screenshot_20180227103814

deviharisakthi avatar Feb 27 '18 05:02 deviharisakthi

What is the output for second question?

sushant10 avatar Feb 27 '18 05:02 sushant10

screenshot_20180227104053

deviharisakthi avatar Feb 27 '18 05:02 deviharisakthi

It is not getting any results from the web, which is weird. Make sure Google-search-API is working.

sushant10 avatar Feb 27 '18 05:02 sushant10

how to know if Google-search-API is working

deviharisakthi avatar Feb 27 '18 05:02 deviharisakthi

i dont know why it isnt working, my only assumption is probably that one or more of the modules are not properly installed

sushant10 avatar Mar 06 '18 21:03 sushant10

does this work on windows??

shabbir1215 avatar Mar 08 '18 00:03 shabbir1215

i have never tried it

sushant10 avatar Mar 09 '18 21:03 sushant10

I'm also having this issue. I have confirmed that all modules are installed and working. I have only changed the capture coordinates and this happens in sample and live.

GrahamCrack3r avatar Mar 16 '18 01:03 GrahamCrack3r

Although during the sample questions I get a hit of 305 on Chubai (Question 18) and a hit of 27 on Waldo (Question 7) but that is it.

GrahamCrack3r avatar Mar 16 '18 01:03 GrahamCrack3r

Same here too. 0% for every question. I'm running Windows 7

U-r-Unknown avatar Mar 17 '18 17:03 U-r-Unknown

This is the same thing that everyone else keeps getting, but would just like to focus on it more. screen shot 2018-03-20 at 1 35 32 pm

TylerG00 avatar Mar 20 '18 17:03 TylerG00

Sounds like some of you may not have the Google Search API package correctly installed. I'm on windows 10 and this works for me. Try issuing this command instead.

pip3 install git+https://github.com/abenassi/Google-Search-API/

That should work fine as long as you have pip3 in your environmental variables. After that, redo the package requirements:

pip3 install -r requirements.txt

Hopefully everything is working after that. Good luck.

Allmight3 avatar Mar 22 '18 10:03 Allmight3

Unfortunately trying a reinstall of the google search api did not solve my issue.

You can see here that I already have the API Installed. google api git

And here I try to perform an upgrade. Although, you can see that I am already up to date. google api upgrade

Here I run a simple querry and do return results which leads me to believe the API is functional. google api test

GrahamCrack3r avatar Mar 22 '18 15:03 GrahamCrack3r

Yep I keep getting the same exact output as you even after trying to reinstall the google api

TylerG00 avatar Mar 22 '18 16:03 TylerG00

I am also getting the same result. If any of you guys has solved it then please write the solution. Hope the owner does look into it and help us.

DrDrunkenstein avatar Mar 23 '18 11:03 DrDrunkenstein

I am on mac and have the same problem

threalboss avatar Mar 23 '18 20:03 threalboss

Guysssss we have to fix this for Sunday!!!!!! Let’s gooooo we got this I believe!!

TylerG00 avatar Mar 23 '18 20:03 TylerG00

If you havent solved it, the problem is in get_page() method

you just need to add gcontext = ssl.SSLContext(ssl.PROTOCOL_TLSv1) before html = urllib2.urlopen(req).read() and modify html = urllib2.urlopen(req).read() into html = urllib2.urlopen(req, context=gcontext).read()

luisfelipedejesusm avatar Mar 25 '18 23:03 luisfelipedejesusm

that didnt work for me

TylerG00 avatar Mar 26 '18 00:03 TylerG00

Your the man, man. Damn those ssl certificates. I'm no python wizard and I'm getting an error do you happen to know exactly what I F*d up here?

get_page console

GrahamCrack3r avatar Mar 26 '18 00:03 GrahamCrack3r

I get the inconsistent use of tabs message too

TylerG00 avatar Mar 26 '18 00:03 TylerG00

Edit --> Select All Format --> Untabify Region Assuming your editor has replaced 8 spaces with a tab, enter 8 into the input box. Hit select, and it fixes the entire document.

Also if you go to save it make sure it says UTF-8 im pretty sure

TylerG00 avatar Mar 26 '18 00:03 TylerG00

What editor are you using?

GrahamCrack3r avatar Mar 26 '18 00:03 GrahamCrack3r

Im using IDLE

TylerG00 avatar Mar 26 '18 00:03 TylerG00