-
-
Notifications
You must be signed in to change notification settings - Fork 168
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
Use yt-dlp instead of youtube-dl #212
Comments
@jr1221 I thought the throttle issue was fixed with the last release of I guess moving to |
@deepjyoti30 It seems so. Nevertheless, nobody will be making releases to fix an issue if it arises. |
@deepjyoti30 Yesterday youtube-dl got a new maintainer, so eventually they will take the backport to fix throttling from yt-dlp. However, I believe yt-dlp will remain the standard. I tested out the new change, I bisected an issue to this commit in which I recieved:
With ignore errors:
|
Why not look for either package. Something as simple as this could work: try:
import yt_dlp as youtube_dl
except ImportError:
import youtube_dl Even better if a commandline argument can be given for the user can choose. Since yt-dlp API is mostly compatible with youtube-dl and the project is not making use of any yt-dlp specific features, this shouldn't add any additional maintenance cost. |
@pukkandan That is a nice idea actually, however, at the top of my mind, I had to make two changes while adding support for I am not saying that these are major changes and these can be handled if the support for both libraries are to be kept but my concern is, in the long run, if At this point the question is what advantage is there if we let the user decide between Though, I like the idea of giving them the flexibility to have more than one option, let me see how viable that would be and if it will be worth the trouble that we might face in the long run. |
See my comment on 0eb0cb8#r65250114 |
@pukkandan Thanks, looked into that! |
Seems like |
Feature Request
Description
Since youtube-dl is without a maintainer and updates, the seemingly random throttling youtube employs #210 is no longer fixed in that package. Switching to yt-dlp fixes these issues, and maintains near 100% compatibility with youtube-dl python bindings and command line options.
The text was updated successfully, but these errors were encountered: