3JlOy-PYCCKUi / yttrim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

yttrim

yttrim in action.

Trim portions from online videos with ease.

Changes

  • Made it POSIX compliant
  • Added lint target in Makefile

CSVs for batch trim

Batch trimming with CSVs.

Dependencies

Usage

Usage: yttrim [OPTION]...

  -ss <timestamp>         start timestamp
  -to <timestamp>         end timestamp
  -f/--filename <name>    filename to be saved as
  -l/--link <link>        audio/video link
  -m/--audio-only         to download the audio only
  --csv-gen               generate a template CSV (for batch trim)
  --csv <file>            provide the csv file for batch trim
  -h/--help               display this help and exit

Installation

git clone https://github.com/3JlOy-PYCCKUi/yttrim.git
cd yttrim/
sudo make install

or

curl -sL "https://github.com/3JlOy-PYCCKUi/yttrim/raw/main/yttrim" | sudo tee /usr/local/bin/yttrim >/dev/null
sudo chmod +x /usr/local/bin/yttrim

About

License:GNU General Public License v3.0


Languages

Language:Shell 94.7%Language:Makefile 5.3%