pytrends icon indicating copy to clipboard operation
pytrends copied to clipboard

Does related queries work? I keep getting 429

Open josh-ashkinaze opened this issue 7 months ago • 20 comments

Here is a MRE, using what is in README

from pytrends.request import TrendReq
kw_list = ["Blockchain"]
pytrends = TrendReq(hl='en-US', tz=360)
pytrends.build_payload(kw_list, cat=0, timeframe='today 5-y', geo='', gprop='')
pytrends.related_queries()

This throws a 429 errors. I tried wrapping this with tenacity and I keep getting 429s no matter how long I wait.

josh-ashkinaze avatar Jul 15 '24 01:07 josh-ashkinaze