Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Youtube command line interface with stream and download functionality

Project description

This is a youtube client for the command line that supports searching downloading and streaming youtube video’s from the command line.

Requirements:

VLC media player Python 2.6+

Commands:

command: search / download / stream query: ‘multiple keywords’ / singlekeyword order: relevance, viewcount or rating number of results: 1 - 50 timespan (optional): today, week, month, all shuffle (optional): shuffle

Controls:

[ or { = prev ] or } = next p or P = pause r or R = reset q or Q = quit

Example usage:

./youtube.py search ‘ukf drum and bass’ rating 20 shuffle Returns 20 videos with query sorted by rating and shuffled

./youtube.py download ‘ukf drum and bass’ viewcount 10 shuffle Downloads 10 videos with query sorted by viewcount and shuffled

./youtube.py stream ‘ukf drum and bass’ relevance 2 month Stream 2 videos with query sorted by relevance and uploaded between now and a month ago

Enjoy!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for youtube-cli, version Beta.2
Filename, size File type Python version Upload date Hashes
Filename, size youtube-cli-Beta.2.tar.gz (2.3 MB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page