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

Feat youtube support 1 #110

Merged

Conversation

poshi1865
Copy link
Contributor

@poshi1865 poshi1865 commented Oct 11, 2022

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.

@netlify
Copy link

netlify bot commented Oct 11, 2022

Deploy Preview for drifty ready!

Name Link
🔨 Latest commit 16bc70d
🔍 Latest deploy log https://app.netlify.com/sites/drifty/deploys/634545f60dd5a8000a67468e
😎 Deploy Preview https://deploy-preview-110--drifty.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@poshi1865
Copy link
Contributor Author

To test this, you will need to download the yt-dlp exe from here , and add it to the path environment variable.

Copy link
Owner

@SaptarshiSarkar12 SaptarshiSarkar12 left a 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.

@SaptarshiSarkar12 SaptarshiSarkar12 merged commit 6a276f6 into SaptarshiSarkar12:master Oct 11, 2022
@poshi1865 poshi1865 deleted the feat-youtube-support-1 branch October 11, 2022 12:40
@SaptarshiSarkar12 SaptarshiSarkar12 added the hacktoberfest-accepted Accepted Pull Requests for Hacktoberfest label Oct 11, 2022
SaptarshiSarkar12 added a commit that referenced this pull request Jul 6, 2023
SaptarshiSarkar12 added a commit that referenced this pull request Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted Accepted Pull Requests for Hacktoberfest
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Add support for downloading YouTube videos
2 participants