-
Notifications
You must be signed in to change notification settings - Fork 130
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
Feat youtube support 1 #110
Feat youtube support 1 #110
Conversation
✅ Deploy Preview for drifty ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
To test this, you will need to download the yt-dlp exe from here , and add it to the path environment variable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍. Thanks for contributing 🚀 🚀.
@poshi1865 Please leave a star on this project if you liked it.
Closes #1
This solution uses the yt-dlp program to download youtube videos. It looks for an executable called
yt-dlp
on the path, and executes it. The user will have to download yt-dlp first and add it to the path environment variable. This task can be automated by replacing the download of Drifty with an install script which will download both drifty and yt-dlp and add them to the path.I know using yt-dlp sounds like a hacky solution, but the task of downloading youtube videos has proven to be quite difficult because of the various mechanisms youtube has put in place to prevent that. yt-dlp also has a ton of other features that can be leveraged to make Drifty a lot more useful.