Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 431 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 431 Bytes

youtube-dl gem

This is a youtube-dl video downloader wrapper.

gem install

gem install youtube_dl

Usage

>> require youtube_dl
>> youtube = YoutubeDl::YoutubeVideo.new("http://www.youtube.com/watch?v=zzG4K2m_j5U")
>> video = youtube.download_video
=> "tmp/downloads/zzG4K2m_j5U.mp4"
>> preview = youtube.download_preview
=> "tmp/downloads/zzG4K2m_j5U.jpg"

Changelog

0.0.1

Initial release.