HQ_Bot
HQ_Bot copied to clipboard
No Results
It's showing 0 percentage for all three results plz help
I'm going to need more info, im not a wizard who can figure out why it doesnt work for you
when i runthe sampq command it's showing questions and 3 answers but each answers is showing 0 percantage
i'm going to need more than that. Did you change any code?
no
How long is each answer taking?
What is the output for second question?
It is not getting any results from the web, which is weird. Make sure Google-search-API is working.
how to know if Google-search-API is working
i dont know why it isnt working, my only assumption is probably that one or more of the modules are not properly installed
does this work on windows??
i have never tried it
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.
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.
Same here too. 0% for every question. I'm running Windows 7
This is the same thing that everyone else keeps getting, but would just like to focus on it more.
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.
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.
And here I try to perform an upgrade. Although, you can see that I am already up to date.
Here I run a simple querry and do return results which leads me to believe the API is functional.
Yep I keep getting the same exact output as you even after trying to reinstall the google api
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.
I am on mac and have the same problem
Guysssss we have to fix this for Sunday!!!!!! Let’s gooooo we got this I believe!!
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()
that didnt work for me
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?


I get the inconsistent use of tabs message too
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
What editor are you using?
Im using IDLE