You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm still having a lot of trouble with error #429. My code is based on 28 requests in total and I use it once a week. I don't think it should have any problem with rate limits, but to be honest I can't get past the first request without the error popping up. I'm using the last pytrends with all the corrections done to requests_args and I'm algo using the user agent on my code (explicitly copied from the other post). Am I missing something? Also, don't know if it matters but I run the code on my office's VPN, but it doesn't work on my home network either. This is the beginning of my code:
Hi, everyone.
I'm still having a lot of trouble with error #429. My code is based on 28 requests in total and I use it once a week. I don't think it should have any problem with rate limits, but to be honest I can't get past the first request without the error popping up. I'm using the last pytrends with all the corrections done to requests_args and I'm algo using the user agent on my code (explicitly copied from the other post). Am I missing something? Also, don't know if it matters but I run the code on my office's VPN, but it doesn't work on my home network either. This is the beginning of my code:
requests_args = {
'headers': {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36'
}
}
pytrends = TrendReq(requests_args=requests_args)
The text was updated successfully, but these errors were encountered: