Giter Club home page Giter Club logo

yt-dlp-cli's Introduction

yt-dlp CLI

Disclaimer

This utility does not include yt-dlp or ffmpeg, but it will prompt you if either is not found with instructions.

Introduction

This tool aims to be a CLI frontend that simplifies the downloading of video or audio for yt-dlp with functionality for all supported output audio formats and qualities. This works for individual videos or playlists. When downloads are completed, the output folder is made and opened upon completion.

Use

Simply download the latest release and extract to a desired location. It is not recommended to extract to a UAC-protected parent directory. Once yt-dlp and ffmpeg are downloaded and extracted, run the script and follow the prompts.

I use Export Cookies by Rotem Dan for extracting browser cookies. Place cookies.txt in the working directory, cookies will automatically be loaded when downloading a video.

Issues

  • Even if the yt-dlp build is up-to-date, leaving the window still opens the GitHub page due to batch limitations
  • ffmpeg is a requirement for downloading videos as audio in newer yt-dlp builds, a fix was implemented but there is no current implementation of checking PATH so a relative path check is used instead
  • Not all base features are implemented, it is undecided if more will be added. Requests will not be taken, but PRs will be considered
  • An unideal method needed to be used for downloading Vorbis audio, upon completion a command is run to change the extensions of downloaded Vorbis outfiles due to batch limitations
  • Window does not rescale correctly when changed if the window is minimized between actions
  • Only Windows support is planned at the time of this readme's submission
  • AVI: Downloads as multiple files (<VideoTitle>.mp4/<VideoTitle>.webm/<VideoTitle>.avi)
  • FLV: Downloads as multiple files (<VideoTitle>.mp4/<VideoTitle>.webm/<VideoTitle>.flv)
  • MOV: Downloads as multiple files (<VideoTitle>.mp4/<VideoTitle>.webm/<VideoTitle>.mov)
  • Webm: Downloads as multiple files (.f136.mp4/.f251.webm/*.webm)
  • AAC: Downloads as *.m4a
  • ALAC: Downloads as *.m4a

Contributing

Feel free to submit a PR, but please comment code when doing so. This is for clarity as batch has a range of use syntax and limitations that are too vast to account for so some things may seem unclear on first glance.

yt-dlp-cli's People

Contributors

mrmendelli avatar pollythepancake avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

yt-dlp-cli's Issues

It is very unclear what I'm meant to do with ffmpeg

I've downloaded ffmpeg from pretty much every link in the official website by now, most of those didn't have a bin file or folder, which is what I was instructed to extract into the yt-dlp folder. The few which had a bin folder had 3 executables inside, I tried placing these 3 in the previously mentioned folder but the bat file doesn't seem to recognize them. I've tried placing all kinds of files in there but nothing seems to work. What is it that I should place and where should I place those files?, I'm really confused, thank you in advance btw.

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.