Giter VIP home page Giter VIP logo

Comments (6)

techgaun avatar techgaun commented on June 2, 2024

@danielmiessler that's basically happening because github search rate limit is too low(Reference). Its 30 per minute. A periodic sleep timeout or handling the error(by waiting for current minute) and re-running the iteration might help. I still need to gather time to handle this. I did update it locally but haven't really been able to test it well. Will see on the upcoming weekend.

from github-dorks.

techgaun avatar techgaun commented on June 2, 2024

This should be better now. The tool now waits for api rate limit to be reset and then retries the dork again.

from github-dorks.

sigmavirus24 avatar sigmavirus24 commented on June 2, 2024

FYI, the rate limit is 30 requests per hour, not per minute. The requests that count against that are:

  • The initial search request
  • Using pagination to find all potential results returned by GitHub (so each page counts against the limit)

from github-dorks.

techgaun avatar techgaun commented on June 2, 2024

@sigmavirus24 thanks! I am slightly confused here.
Below is what is listed at https://developer.github.com/v3/search/#rate-limit

The Search API has a custom rate limit. For requests using Basic Authentication, OAuth, or client ID and secret, you can make up to 30 requests per minute. For unauthenticated requests, the rate limit allows you to make up to 10 requests per minute.

But since you've been doing github api for such long time, can you clarify if that's practical limit. The tool works fine at the moment for now (probably it skips one search) but I feel I am able to do much more than 30 requests per hour.

from github-dorks.

sigmavirus24 avatar sigmavirus24 commented on June 2, 2024

Ah, they've changed that since the last time I saw it. It used to be 30 unauthenticated requests per hour and 60 authenticated requests per hour.

What you have in 0c49019 looks correct to me.

from github-dorks.

techgaun avatar techgaun commented on June 2, 2024

ahh okay thanks for checking that @sigmavirus24

from github-dorks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.