/ycl

Search, Play, Download youtube videos from the terminal

Primary LanguagePythonMIT LicenseMIT

ycl

Simple application to search, play, download Youtube videos from the terminal

GitHub Workflow Status (branch)

Requirements

Install

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

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.

Docker (Deprecated)

Linux only

docker build -t ycl:latest .
docker run -it --device /dev/snd:/dev/snd ycl:latest

Inside the container

ycl --help