Coder Social home page Coder Social logo

yor-ytdlp's Introduction

Your very own YT-DLP Tool TUI

This script simplifies the use of yt-dlp for scenarios where the User often desires multiple different outputs. It does so through its user-friendly "menu's" that guide the user with simple 1-2-3 steps. By guiding the user through commonly requested options with clear prompts, this script makes using yt-dlp a minimal effort task for the typical entry-level power user.

Also its lightweight! 7kb compared to the alternative of GUI applications that can exceed 100mb (like electron apps..).

How it works

  1. The script operates through "pages", listed below in 1-7.

  2. The User can input a URL or press ENTER to default to URLs in ~/Downloads/ytdlp/url.txt

    • ✔ The script validates URLs and creates the directory for you
    • ✔ Multiple URLs in the url.txt can batch custom download
    • ✔ Entering a Playlist URL can batch custom download
    • ✔ Drag & Drop URLs into the script to select it
  3. The User selects audio or video.

  4. The User decides if they want a playlist or single file (if applicable).

  5. The User determines what quality they would like.

  6. Subtitles, yes, no, embedded? (for videos).

  7. Restrict file name? keeping it short.

  8. Finally, destination. Press ENTER to default to Downloads/ytdlp/ or Specify a folder path.

Note: This script (by default) downloads the best format available for videos, it may result in recieving an .mkv file for one video and .mp4 file for another video. Meanwhile, mp3s defaults to best quality possible with embed thumbnail/cover-art.

See it in action

2024-06-05.15-38-51-mc.mp4

Usage

  • Ensure that you already have yt-dlp on your system.
  • Git clone this repo or download the source above.
  • Make the script an executable then run it.
  • Drag a URL in, or use the text file.
  • Make your choices.
  • Profit.
git clone https://github.com/soulhotel/yor-ytdlp.git
cd yor-ytdlp
chmod +x yor-ytdlp.sh

To have it show up in your applications list and searches

  • place the .desktop file in the appropriate directory, usually /home/user/.local/share/applications.
  • If you place the script somewhere other than ~/yor-ytdlp/ then open the .desktop file and make sure the Exec path is set accordingly.

app launcher

Other

yor-ytdlp's People

Contributors

soulhotel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.