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

Authentication Issue #44

Open
m-bilal-dev9 opened this issue Dec 9, 2021 · 1 comment
Open

Authentication Issue #44

m-bilal-dev9 opened this issue Dec 9, 2021 · 1 comment

Comments

@m-bilal-dev9
Copy link

m-bilal-dev9 commented Dec 9, 2021

Hi,

I'm facing an authentication issue when I used to make a google alert after every minute. Seems like google revoke my access and stopped results from google alert API. Does anyone face this issue? I've to renew my cookie in google-alert API to get everything to work fine. It's a really panic issue for me when it automatically stops on my website and stopped results showing on site. Your help and concern are needed!

image

I made a cron job that runs after 1 minute and collects results from Google, when it reaches almost 2500+ results it starts throwing an error of authentication.

image

@adasq
Copy link
Owner

adasq commented Jan 18, 2022

Apparently, it's not the npm module problem itself, as it works for given time period.
I don't know how the Google Alerts works under the hood, unfortunately.

My suggestion is to check how does the browser behaves in a given circumstance.
What I mean by that is to:

  1. Once you face the issue, copy all the cookies (SID, HSID, SSID) from your app.
  2. Open Google Alerts in a browser
  3. Replace current session cookie values with the ones specified in step 1.
  4. Try performing some operation (create, read) on an alert.
  5. Observe

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