Google Trends Scraper avatar

Google Trends Scraper

Try for free

7 days trial then $20.00/month - No credit card required now

View all Actors
Google Trends Scraper

Google Trends Scraper

emastra/google-trends-scraper
Try for free

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
GB

Problem with the settings

Closed

giggly_bookcases opened this issue
10 months ago

here's the error log:

2024-01-17T20:23:43.409Z ACTOR: Pulling Docker image of build Ck3SwzkEhdeCsaFbS from repository. 2024-01-17T20:23:43.837Z ACTOR: Creating Docker container. 2024-01-17T20:23:43.872Z ACTOR: Starting Docker container. 2024-01-17T20:23:44.390Z Starting X virtual framebuffer using: Xvfb :99 -ac -screen 0 1920x1080x24+32 -nolisten tcp 2024-01-17T20:23:44.392Z Executing main command 2024-01-17T20:23:46.069Z INFO System info {"apifyVersion":"3.1.15","apifyClientVersion":"2.8.4","crawleeVersion":"3.7.2","osType":"Linux","nodeVersion":"v18.19.0"} 2024-01-17T20:23:46.218Z file:///home/myuser/dist/utils.js:27 2024-01-17T20:23:46.219Z if (input.searchTerms.length <= 0 && !input.spreadsheetId && !input.startUrls.length) { 2024-01-17T20:23:46.220Z ^ 2024-01-17T20:23:46.221Z 2024-01-17T20:23:46.222Z TypeError: Cannot read properties of undefined (reading 'length') 2024-01-17T20:23:46.222Z at validateInput (file:///home/myuser/dist/utils.js:27:83) 2024-01-17T20:23:46.223Z at file:///home/myuser/dist/main.js:7:1 2024-01-17T20:23:46.224Z at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 2024-01-17T20:23:46.225Z 2024-01-17T20:23:46.226Z Node.js v18.19.0

alexey avatar

Hi! Thanks for letting us know, for right now please use regular search, since there is a bug with direct URLs like https://trends.google.it/trends/trendingsearches/realtime?geo=IT&hl=it&category=h - need few work days to fix it

alexey avatar

Hi! Done, sample run: https://console.apify.com/view/runs/V2wtUbGcHGTiDmDM6 Data format is totally different, so added as new properties to dataset item(s). Since we consider such data case as rare we will not show it in output, please check json in dataset directly, i.e. https://api.apify.com/v2/datasets/g9aH0vdV7rER7p03c/items?clean=true&format=json

paja avatar

Hi, I'm going to close the issue for now, but if the problem persists or there's anyhting else we can help you with, please let us know.

Developer
Maintained by Apify

Actor Metrics

  • 109 monthly users

  • 38 stars

  • 99% runs succeeded

  • 5.5 hours response time

  • Created in Jan 2020

  • Modified 5 hours ago