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

HTTP 429 ERROR TOO MANY REQUESTS #64

Open
jahanzaibniazi opened this issue Jul 17, 2020 · 4 comments
Open

HTTP 429 ERROR TOO MANY REQUESTS #64

jahanzaibniazi opened this issue Jul 17, 2020 · 4 comments

Comments

@jahanzaibniazi
Copy link

This project is working fine on one hosting server, then i uploaded it to another hosting account it is running perfectly on previous server but giving HTTP 429 ERROR too many requests, How can i resolve it?

@Athlon1600 Athlon1600 pinned this issue Jul 21, 2020
@ElijahCuff
Copy link

What is HTTP Error 429: Too Many Requests in Youtube?
An error 429 Too Many Request occurs when a user tries to execute too many requests in a certain period of time. This error is caused by the special speed limitation settings of a service provider’s servers. Rate limitation is used to limit the number of requests a user can execute in order to reduce the risk of overloading his server.

This YouTube error code would occur if you sent too many orders at once. For example, you clicked on a video several times or pressed the search button several times after entering the keywords. Because some servers would put a restriction to stop the request if the number of times is too high. Error code 429 is displayed.

HOW TO STOP 429 ERRORS ?
• Find the script responsible for making so many requests at one time, you need to either make 1 request and then store the data for accessing later, or cut down as many requests you can.

The most common cause is running something like a GET request in a While or For loop, causing sometimes Hundreds of requests to find information that only required 1 requests data..

By moving the GET request to before the loop, then checking a stored value is much faster and minimises requests..

Many Request Storing methods are used to maximize your API Limiting.

If an API limited calls to 100 times per day, you need to crawl the 100 calls into a database so you never have to search them again - Once stored in a database, it would only ever check the API for information that's not already obtained.

@tieutantan
Copy link

You can use multiple IPs and rotate on each request via custom code in PHP CURL.

@YeltsinReyes
Copy link

Are the links generated by the script temporary or permanent?
Because if they are temporary I can't store them and I would have to make a request every time I need a link.

@Athlon1600
Copy link
Owner

Because if they are temporary I can't store them and I would have to make a request every time I need a link.

they're definitely temporary, and they will not last long enough for you to be able to store those links in database for future viewings...

@Athlon1600 Athlon1600 mentioned this issue Oct 3, 2020
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

5 participants