hulla-bulla / yt

0 stars 0 forks source link

yt

A helper tool for downloading, converting, editing youtube videos.

Features

πŸŽ₯ YouTube

πŸ’» Other

πŸ“½οΈ OBS

πŸ“„ Google Docs

πŸš€ Installation

  1. 🐍 Download and install Python here

  2. πŸ’» Open a terminal and run:

    pip install git+https://github.com/hulla-bulla/yt.git
  3. Then run:

    playwright install
  4. Done! πŸŽ‰

πŸ”„ Update to a Newer Version

To update to the latest version, simply use:

pip install --upgrade git+https://github.com/hulla-bulla/yt.git

🎈 How to use

Then run yt in a πŸ’» terminal to use the app.

NOTE: the youtube link needs to be in quotes on windows like -> "https://www.youtube.com/watch?v=FRpq7o1mKXY" instead of https://www.youtube.com/watch?v=FRpq7o1mKXY

yt --help          # view help
yt clips --help    # view help for specific command

# download youtube video best quality available
yt video "https://www.youtube.com/watch?v=wA9MV-93K1I"

# download youtube audio best quality available
yt audio "https://www.youtube.com/watch?v=wA9MV-93K1I"

# Download a bunch of clips with "rust" as the keyword from playlists and or channels
yt clips rust "https://www.youtube.com/watch?v=SodXi2t1mtE&pp=ygUJcnVzdCBoeXBl" "https://www.youtube.com/watch?v=NtYHC1KNGoc&t=16s&pp=ygUJcnVzdCBoeXBl" "https://www.youtube.com/@NoBoilerplate"

yt probe video.mp4 # outputs json
yt probe video.mp4 | jq # outputs nicer json (requires jq)

πŸ’© Development

  1. create venv & activate
  2. python setup.py develop
  3. type yt to test the tool

package for deploy

python setup.py sdist bdist_wheel