Skip to content

command line interface to youtube, provides search, stream and download functionality.

Notifications You must be signed in to change notification settings

0xPr0xy/youtube-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

0xPr0xy

About

command line interface to youtube, provides search, stream and download functionality.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published