mirror of
https://github.com/imputnet/cobalt.git
synced 2026-05-10 15:34:57 -05:00
[GH-ISSUE #346] YouTube api rate limits the server (not an issue with cobalt) #9038
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nikunjmishra1998 on GitHub (Feb 9, 2024).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/346
Dear Wukko,
I hope this message finds you well. I am writing to report an issue I have been experiencing with your API.
For the past few days, specifically every two days, I have encountered an unexpected problem where the API returns a zero-byte output file when attempting to convert videos from YouTube. This issue has been consistently occurring, and it significantly disrupts the functionality and reliability of the service for me and potentially other users. I uploaded this API on my Git and my server.
This works for me for two days perfectly but every two days it's suddenly returning files of 0 Bytes
platform
@wukko commented on GitHub (Feb 9, 2024):
not reading this until you cut the chatgpt bullshit and write text yourself
also elaborate more and give sample links instead of scrapping the template with questions for needed information
@wukko commented on GitHub (Feb 9, 2024):
youtube rate limits everyone, i advise you to host your own server instead of using someone else's if you use it in huge amounts for whatever purpose
what do you use api for?
@wukko commented on GitHub (Feb 9, 2024):
again, youtube rate limits your server's IP address if requests are frequent. that's why files are 0 bytes. it usually goes away within a week. that's just how youtube api is.
you need to come up with a solution for your server. i can't help you with it, as it's not an issue with cobalt's codebase.
@nikunjmishra1998 commented on GitHub (Feb 9, 2024):
Thanks for your answer.
I just want to know if is there any request limit on cobalt rather than the rate limit.
I am already aware of the rate limit on API. but in my case API is responded as stream not rate limit in response and the file is downloading as 0 bytes.
I am already working with my server but after every 2 days these issues come up again that's why I am writing here for my final solution.
Even the server setup is not changed and suddenly my API responded with 0 bytes output file.
As an API developer, have you faced the same issue in any cases? If yes then can you please give me basic information that how can I resolve it?
It will be really helpful for me
@wukko commented on GitHub (Feb 9, 2024):
0 bytes problem is caused by rate limit on youtube's side, if it was on cobalt's side, then there'd be an appropriate error message.
@nikunjmishra1998 commented on GitHub (Feb 9, 2024):
okay, thanks for the answer I know's issue is not from the cobalt side but have any suggestions for me that can be solved on my server?
I mean how can I ignore or side rate limit on youtube's side?
@nikunjmishra1998 commented on GitHub (Feb 9, 2024):
hello can you please give me last answer?
@lostdusty commented on GitHub (Feb 9, 2024):
Nope, you can't just bypass rate limits. Except if you have another dedicated IP.