Nv7-GitHub / googlesearch

A Python library for scraping the Google search engine.
https://pypi.org/project/googlesearch-python/
MIT License
480 stars 117 forks source link

How can I use proxy in this library. #73

Closed are-you-serat closed 2 months ago

are-you-serat commented 8 months ago

I have code like this:

for j in search(usermessage + site, num_results=5, lang='ru', sleep_interval=2, proxy='http://104.26.2.46:80'): responce.append(j)

I installed a proxy but it doesn't work. I saw issues where this topic was raised, but I still didn’t understand how to use a proxy.

Nv7-GitHub commented 2 months ago

This has been merged.