Open cent664 opened 4 years ago
I also have to struggle with the problem that in March I only get response 500 for some weeks, but in all other weeks before and after (also last week) everything works fine. I cannot find out why...
I also have to struggle with the problem that in March I only get response 500 for some weeks, but in all other weeks before and after (also last week) everything works fine. I cannot find out why...
That period of time in early march seems to be the problem.
Hello guys, any idea why this happens. I was working for me till yesterday and suddenlt, BAM!. The same code has been giving this error. I thought maybe Google thought I am a suspicious client. I used VPN and tried, still the same. Tried from a different system connected to a different netword, still the error keeps coming.
Hi,
I"m trying to scrape 365 days of data points from today (2019-12-09 to 2020-03-18). I can't seem to scrape data from somewhere around the dates 2020-02-27 to 2020-03-05. I've tried different keywords, same thing.
I tried splitting the query into two parts: One from 2019-12-09 to 2020-02-27 and Second from 2020-02-27 to 2020-03-18
That successfully made the query run (no code 500), but returned an empty dataframe for the problem time range (2020-02-27 to 2020-03-05).
The worst part is, when I scraped last friday (2020-03-13) for 365 days (which included the problematic data range), it worked fine - no empty dataframe. I have the latest pandas and pytrends.
PS: I can attach the whole python file if you guys want, just felt like it might be unnecessary.
Please help. I have no idea how and why this is happening. My code is as follows:
`def get_trends(keyword, days): i = 0 waiting_time = 60