Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am interested in reverse engineering Google trends #619

Open
AhmadKhanSenpai opened this issue Apr 14, 2024 · 1 comment
Open

I am interested in reverse engineering Google trends #619

AhmadKhanSenpai opened this issue Apr 14, 2024 · 1 comment

Comments

@AhmadKhanSenpai
Copy link

Hi, As you all know that its been 4 months pytrend is not working for anybody unless you use browser automation which takes very long time. I was reading the source code and debugging to see where the problem actually occurs and why we are getting "Error 429 Too many Requests". So far I found out that pytrend is unable to get coockies for its requests, in debugging the cookie variable stays empty. And I think google is also encrypting the requirement "req=" parameter as well, which is why we get response 400 if we try to send request through postman or Insomnia or python request module. So far I have no Idea what we can do unless we hack the website to get "token" and then send our request with that "token". I think Google trends security level have reached to a level of Bank website.

If anyone have an insight to share please do. Maybe we can figure something out together.

@nick0h
Copy link

nick0h commented May 24, 2024

i just started reversing the flow i have been only working on it today but made alright progress contact me if you're interested in this , i figured out how to get tokens but they aren't working as i would expect, it may have something to do with having to send an empty post where i see in browser there is some random long string, but maybe not. Anyways I am gonna figure this out so lmk if you're interested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants