Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Latest commit

 

History

History
67 lines (46 loc) · 1.46 KB

README.md

File metadata and controls

67 lines (46 loc) · 1.46 KB

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