Google Trends Scraper
7 days trial then $20.00/month - No credit card required now
Google Trends Scraper
7 days trial then $20.00/month - No credit card required now
Scrape data from Google Trends by search terms or URLs. Specify locations, define time ranges, select categories to get interest by subregion and over time, related queries and topics, and more. Export scraped data, run the scraper via API, schedule and monitor runs, or integrate with other tools.
Do you want to learn more about this Actor?
Get a demo"ApifyApiError: Input is not valid: Field input.viewedFrom must be string"
I'm using the python code template as is.
Can someone send me a working code example?
Hey! Can you send a screenshot of your input?
Just to clarify, you using the input schema from this actor and not other scraping templates, right?
Hey,
thanks for the screenshot. Try to set viewedFrom
to an empty string ""
or remove it completely from the input object and it should let it through.
Thanks!
But it goes into an infinite loop when I try either of those.
It's probably just waiting for the run to finish. Try to wait 2-3 minutes and it should print the results. I think there's an option for call
method to set timeout to 0
so it doesn't wait for the run to finish.
great it outputs now:
{'inputUrlOrTerm': 'webscraping', 'searchTerm': 'webscraping', 'interestOverTime_timelineData': [], 'interestOverTime_averages': [], 'interestBySubregion': [], 'interestByCity': [], 'relatedTopics_top': [{'topic': {'mid': '/m/07ykbs', 'title': 'Web scraping', 'type': 'Topic'}, 'value': 100, 'formattedValue': '100', 'hasData': True, 'link': '/trends/explore?q=/m/07ykbs&date=today+12-m'}, {'topic': {'mid': '/m/0828v'...
How do I simply fetch the monthly interest # for each keyword that I'm inputing, and ignore the above long output?
Thanks!
Actor Metrics
130 monthly users
-
41 stars
99% runs succeeded
1.4 days response time
Created in Jan 2020
Modified 2 days ago