Comments (6)
This is a known issue.
The problem is when the Google Trends API is requested it's flagged as USER_TYPE_SCRAPER and returns data with 0s.
The issue is on Google's side, it's even affecting the embedding feature as you can see. This is because the embedding feature also makes a request to the Google Trends API.
![Screenshot 2023-07-20 at 11 14 30 AM](https://private-user-images.githubusercontent.com/85900436/254928079-eefc7009-91aa-4874-a535-32f990dceb75.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTA4NDY1NjMsIm5iZiI6MTcxMDg0NjI2MywicGF0aCI6Ii84NTkwMDQzNi8yNTQ5MjgwNzktZWVmYzcwMDktOTFhYS00ODc0LWE1MzUtMzJmOTkwZGNlYjc1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAzMTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMzE5VDExMDQyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEzNDdjMTQ1NmJjZWFmNjE2MGY3NDJlZjYxNzA1NzMzYzQxMmRmY2I2YzBjNGI5MTliZjJhMGUxZWY2NmM0OTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.6tYoV_PzBaAHBL1GJGn9MGgOV_99-a_ozMqXor--gO8)
All other SERP products are facing this issue and a solution is not known.
When this happened last time, it persisted for a few weeks and then resolved itself. So that's what we can hope for.
from pytrends.
Yep, check your network headers, you'll see its a 429 error blocking the request.
You'll also see USER_TYPE_SCRAPER
In those headers.
That's because nearly all requests to the Google Trends API is being blocked, including the native embedding feature.
That's how we know its an internal issue and there is little we can do as of now.
from pytrends.
Also having the same issue with a lot of consecutive zero values in the dataset downloaded
from pytrends.
@nicktba tested out the embeddings approach too. its often not even loading for me.
from pytrends.
Looks like it's been resolved by Google. I get again normal data points and no errors. Also Iframes work again.
Update: Experiencing the issue again
from pytrends.
Looks like it's been resolved by Google. I get again normal data points and no errors. Also Iframes work again.
Update: Experiencing the issue again
It seems like I'm getting somewhat better success, but the issue not fixed by any means
from pytrends.
Related Issues (20)
- timeframe doesn't work - Google returned a response with code 429 HOT 13
- Pytrends work again with time frame 1 - H, 4 - H or 1 - D HOT 1
- Interested in being a Maintainer
- Proxy error
- Impossible to get data for worldwide after any country has been set
- MaxRetryErr HOT 8
- It broke again HOT 56
- Code documentation :)
- Broken for short timeframe - question for experts HOT 4
- related_queries and related_topics not working (infinite loop) HOT 4
- Anyone getting "Holes" in the data again? HOT 2
- Many tests fail
- Error with all request: HTTPSConnectionPool(host='trends.google.com', port=443): Max retries exceeded HOT 17
- Update to Selenium script HOT 4
- is that pytrends still unavailiable everyone? HOT 4
- Selenium script giving exception HOT 2
- Error 429 for the past few days HOT 14
- Interested in Maintainers
- KeyError: 'content-type' when calling build_payload()
- Is there an upper limit on display results? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytrends.