Reputation: 79
from googlesearch import search
query = "see"
links = []
for j in search(query, tld="co.in", num=10, stop=10, pause=2):
links.append(j)
print(links)
I've done absolutely everything I can in my power to make it work. I did all of the things mentioned below:
Upvotes: 6
Views: 15268
Reputation: 1
Reading better pypi.org, I precised still my installation like this, : python3 -m pip install googlesearch-python this in a venv like I use to...
Upvotes: 0
Reputation: 167
Did you do this?
pip install googlesearch-python
Because that is the command you have to run to install googlesearch.
Upvotes: 7
Reputation: 79
It was a problem with Conda, I used venv and it worked perfectly fine.
Upvotes: 0