Open Paktas opened 1 year ago
@Paktas Google trends now detects scrapers and if you inspect the requests : you will see "userConfig": {"userType": "USER_TYPE_SCRAPER"} from scraping
Try using this API: https://rapidapi.com/odlica-odlica-default/api/trendly
Can we modify the user-agent, I had a similar issue before with Twitter when scraping with puppeteer but if I fake the user agent it was fine.
// Twitter does not like puppeteer user agent ;-)
await page.setUserAgent(
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36"
);
How come Realtime Trends is only returning 13 results? Desktop UI has Load More that can continue for at least few hundred entries.