Closed amad3us47 closed 1 year ago
Hi @amad3us47 - Try setting verbose_output
to False
import yagooglesearch
query = "site:github.com"
client = yagooglesearch.SearchClient(
query,
tbs="li:1",
max_search_result_urls_to_return=100,
http_429_cool_off_time_in_minutes=45,
http_429_cool_off_factor=1.5,
# proxy="socks5h://127.0.0.1:9050",
verbosity=5,
verbose_output=False, # False (only URLs) or True (rank, title, description, and URL)
)
client.assign_random_user_agent()
urls = client.search()
len(urls)
for url in urls:
print(url)
@amad3us47 Did that work for you?
Yeah it did!!
I need just to fetch the urls of sites