Unable to use proxy
bakadesuyou opened this issue · 4 comments
bakadesuyou commented
API_KEY = "2fdb6ced427de857f32870d733fe69b0"
query = "loli"
proxy = f"http://scraperapi.country_code=us:{API_KEY}@proxy-server.scraperapi.com:8001"
loli_links = [link for link in search(term=query, proxy=proxy)]
Arsh1219 commented
same issue. did you find any solution?
presidentofradioshack commented
Gonna assume it has to do with the fact that proxy
is always being set to None
no matter if one is being passed or not. Checkout line 39
https://github.com/Nv7-GitHub/googlesearch/blob/master/googlesearch/__init__.py#L39-L44
Nv7-GitHub commented
It should be set to {"http": <proxy>}
right after though
presidentofradioshack commented
Oof my b, sometimes i swear my dyslexia kicks in lol, proxies and proxy were the same word to me until i looked super close