-
Notifications
You must be signed in to change notification settings - Fork 176
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
Quota defeating / Authentication #36
Comments
Hey man! what kindda quota limits you are getting now, after cookies? better than 10/ min or 200/ hr ? |
Far lower than normal without the cookies, literally the first request I did said that I reached my limit. Apparently Google gives reduced quotas if there are no cookies as it recognises that it's a bot. It just seemed very inconsistent. However when sending the cookies along with the request I had consistent results, (though i've yet to benchmark how many exactly) |
@Dayjo sounds like it's worth a shot - good idea! |
I'm off to Vietnam for a couple of weeks on Friday so won't get a chance to implement it properly, however I may get a chance when I'm back 👍 |
@pat310 Going to probably get a chance to look into this over the next couple of weeks so will keep you posted! Need to come up with a proof of concept for a reliable way of utilising this. |
@Dayjo can you explain to me, what the cookies I need to send... I would be grateful! |
Hello @KelvinCampelo As in the code in my first post, the cookies I was sending were;
Which I'd extracted from the browser when I'd logged into google. I don't know what they do, I literlaly just copied them all :) |
Note to self / anyone else; I'm going to be attempting to max out the quota. I would like to go for around 170k requests a month. Hopefully that's within their limit! @pat310 @dreyco676 no idea if either of you have tried or had anyone else try anything near this number? |
@Dayjo I'm not sure, but I would be curious to see what the number is. I'll let you know as soon as it's updated |
@Dayjo Closing this for now. Are you going to run a test to see what the limit is? |
Hello!
I've been wondering about overcoming the Quota problem. Currently, I cannot really run any of the calls without getting the Quota error - the first request I did today got the error. Then sometimes it works, other times it doesn't.
I read some suggestions by others about overcoming this by doing a request to login and grabbing the cookies, then sending those cookies with the request to the API so that it thinks you're authenticated and the quota is not so tight.
Not sure if anyone has tried this yet or found other ways to overcome the quota errors?
After grabbing my cookies from the browser after doing a search on google trends, I added them to the trendData.js request and it does actually appear to work, something like this allows me to make more regular requests;
( I have obfuscated the real cookie values )
How reliable this method will be, I'm not sure. Regardless I think something will need to be built in to any app using this to detect the quota and retry later.
The text was updated successfully, but these errors were encountered: