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

Download video #1

Open
majedbojan opened this issue Sep 9, 2019 · 3 comments
Open

Download video #1

majedbojan opened this issue Sep 9, 2019 · 3 comments
Labels
good first issue Good for newcomers

Comments

@majedbojan
Copy link

PR for download video feature will be welcome or the gem is only for audio

@jdaviderb jdaviderb added the good first issue Good for newcomers label Sep 9, 2019
@jdaviderb
Copy link
Owner

jdaviderb commented Sep 9, 2019

Hello @majedbojan, yes the PR are welcome I can update the gem this week to support download videos in all formats

example:

youtube_video = YoutubeAudio::Download.new(
  "https://www.youtube.com/watch?v=c6dNudlz3G8", 
  all_formats: true
)

# should returns links in audio/video formats
puts youtube_video.formats

this is a good first issue 👍

@saswat01
Copy link

saswat01 commented Sep 21, 2019

Hi @majedbojan if you are on python you can use pytube library to download videos and of really good quality
pip install pytube
if it doesn't work try:
sudo -H pip install --upgrade youtube-dl

@majedbojan
Copy link
Author

majedbojan commented Sep 21, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants