Simple application to search, play, download Youtube videos from the terminal
- Python 3.6+
- VLC
- Youtube Data API v3 Key
Due to Google limiting quota on Youtube API, you should get your own key.
pip install -e .
Set your Youtube API Key:
Linux
Put this in your ~/.bashrc
or ~/.bash_profile
export YOUTUBE_KEY="AIzaSyAZQ2vf2Y5wfDxj**************"
Windows
setx YOUTUBE_KEY "AIzaSyAZQ2vf2Y5wfDxj**************"
Note the environment variable will be available for the subsequent command prompts/terminals.
Usage: ycl [OPTIONS] [QUERY]...
Options:
-ps, --playlistsearch Searches for playlists
-v, --video Use a direct video link
-pl, --playlist Use a direct playlist link or file
-i, --interactive Starts an interactive Terminal UI session
-e, --export Export A playlist to a local file
-o, --output TEXT Set output format container, eg: mp4, mkv
--help Show this message and exit.
Linux only
docker build -t ycl:latest .
docker run -it --device /dev/snd:/dev/snd ycl:latest
Inside the container
ycl --help