jdaviderb / youtube-audio

extract videos from youtube in audio format using webscraping techniques :notes:
MIT License
69 stars 1 forks source link

Download video #1

Open majedbojan opened 4 years ago

majedbojan commented 4 years ago

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

jdaviderb commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

Hello saswat Thank you to reaching out to me No i'm not in python actually i was thinking to create a small app that runs on ios platform using rails as back-end the app will act as downloader videos, audio from youtube but i got busy at last couple weeks with my full-time work i could double check the gem i will give it try when i got time thank you

On Sat, 21 Sep 2019 at 18:00, saswat notifications@github.com wrote:

Hi @MajedBojan https://github.com/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

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jdaviderb/youtube-audio/issues/1?email_source=notifications&email_token=AF4BPZWIHIRFNWAK6LLQCFLQKYZIVA5CNFSM4IU4EVM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7ITMMY#issuecomment-533804595, or mute the thread https://github.com/notifications/unsubscribe-auth/AF4BPZWSTQKA6G4NJVJVPVTQKYZIVANCNFSM4IU4EVMQ .