#download #yt-dlp #audio-video #line #command #command-line

app mine-dlp

A yt-dlp wrapper for downloading YouTube videos from command line

7 releases

new 0.4.0 Dec 15, 2024
0.3.5 Nov 6, 2024
0.2.1 Nov 4, 2024

#72 in Video

Download history 382/week @ 2024-10-31 151/week @ 2024-11-07 2/week @ 2024-11-14 1/week @ 2024-11-21 117/week @ 2024-12-12

119 downloads per month

MIT license

10KB
170 lines

Description

This rust package is a wrapper around yt-dlp to Download audio/video files to your desired folder with no hassle.

Installation

You can install this package using cargo, like this

cargo install mine-dlp

you can install this package in any Operating System, with cargo installed. You can refer to this website to install cargo. And you should install yt-dlp too, because this package is a wrapper around yt-dlp. You can refer to above referred link to install yt-dlp. You should also install gcc in linux and in windows you should in Visual Studio 2019 or higher, for Rust compiler to work.

Execution

You can execute it by running mine-dlp, but you should have config file in your $HOME directory by the name of .mine-dlp and the file should contain

browser="name of the browser in which youtube is logged in, quotes are not needed"(yt-dlp cannot get audio/video without this option)
downloads=/path/to/save/the/audio or video/

If you do not want to go through hassle, you can just execute it and give details for the first when it asked.

Issues

If there is a issue you can open a PR in GitHub, attaching a screenshot of the issue is appreciated

Dependencies

~0–10MB
~48K SLoC