techgaun / github-dorks

Find leaked secrets via github search
Apache License 2.0
2.83k stars 591 forks source link

rate limit #36

Closed ghost closed 5 years ago

ghost commented 5 years ago

GitHub Search API rate limit reached

where can i an api token to not get rate limiting?

techgaun commented 5 years ago

@soupnatzi we can not really bypass github's rate limits but this library should already be handling and re-running the calls after gracefully waiting for the rate limit to get over. If that's not the case and you still hit rate limits, we should look into it.

ghost commented 5 years ago

can we just add a personal token to bypass some rate limiting?i mean i just ran the tool and instantly the rate limit came up?this is just a suggestion

techgaun commented 5 years ago

@soupnatzi you should already be able to do that. if you look at readme, you can either specify GH_TOKEN (which is your personal access token) or GH_USER / GH_PWD as environment variables to get the rate limits of authenticated users which is higher than anonymous calls

ghost commented 5 years ago

got it thanks for the quick response

techgaun commented 5 years ago

sounds good. I am going to close this issue for now. feel free to re-open if there's any issue. thanks