项目作者: SubhrajitPrusty

项目描述 :
Search, Play, Download youtube videos from the terminal
高级语言: Python
项目地址: git://github.com/SubhrajitPrusty/ycl.git
创建时间: 2019-03-14T11:38:53Z
项目社区:https://github.com/SubhrajitPrusty/ycl

开源协议:MIT License

下载


ycl

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

GitHub Workflow Status (branch)

Requirements

Install

  1. pip install -e .

Set your Youtube API Key:

Linux

Put this in your ~/.bashrc or ~/.bash_profile

  1. export YOUTUBE_KEY="AIzaSyAZQ2vf2Y5wfDxj**************"

Windows

  1. setx YOUTUBE_KEY "AIzaSyAZQ2vf2Y5wfDxj**************"

Note the environment variable will be available for the subsequent command prompts/terminals.

Usage

  1. Usage: ycl [OPTIONS] [QUERY]...
  2. Options:
  3. -ps, --playlistsearch Searches for playlists
  4. -v, --video Use a direct video link
  5. -pl, --playlist Use a direct playlist link or file
  6. -i, --interactive Starts an interactive Terminal UI session
  7. -e, --export Export A playlist to a local file
  8. -o, --output TEXT Set output format container, eg: mp4, mkv
  9. --help Show this message and exit.

Docker (Deprecated)

Linux only

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

Inside the container

  1. ycl --help