pat310 / google-trends-api

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

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

Open wxqqh opened 1 year ago

wxqqh commented 1 year 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