Project

rubytube

0.0
No release in over a year
RubyTube is a Ruby adaptation of pytube, enabling simplified downloading and streaming of YouTube videos in a Ruby-friendly manner.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

RubyTube

Gem Version

RubyTube is a Ruby implementation of the popular Python library, pytube. This library facilitates the downloading and streaming of YouTube videos, offering the robust functionality of pytube in a Ruby-friendly format.

Installation

$ gem install rubytube

Quick Start

require 'rubytube'

# Initialize with video URL
video = RubyTube.new('https://www.youtube.com/watch?v=dQw4w9WgXcQ')

# Download video
video.streams.first.download

# Filtering streams
video.streams
  .filter(progressive: true, file_extension: 'mp4')
  .order(resolution: :desc)
  .first
  .download