pat310 / google-trends-api

An API layer on top of google trends
https://www.npmjs.com/package/google-trends-api
MIT License
894 stars 178 forks source link

fix: Fix for the "too many requests" issue #167

Open wxqqh opened 2 years ago

wxqqh commented 2 years ago

there is no cookie header in google trends api response when return 429, so the cookie must be clear first in the request, then will receive the cookie next request.

429 header

close #165 close #164