lib/viddl/video.rb
def download(url, options = {})
      video = Instance.new(url)
      video.process_download(options)
      video
    end
# Download a video using the given url
# @param [String] url
# @param [Hash] options
# @option options [String, File] :download_path Path where download should be stored (default: system temp directory)
# @option options [String] :flags Flags to pass to youtube-dl
# @return [Video::Instance]
Download a video using the given url
Download a video using the given url
def download(url, options = {})
      video = Instance.new(url)
      video.process_download(options)
      video
    end
def download ( url , options = { } ) video = Instance . new ( url ) video . process_download ( options ) video end
Download a video using the given url
Download a video using the given url
None
Video::Instance
url
options
:flags Flags to pass to youtube-dl
: flags Flags to pass to youtube - dl
None