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

app mine-dlp

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

6 releases

new 0.3.5 Nov 6, 2024
0.3.4 Nov 6, 2024
0.2.1 Nov 4, 2024

#37 in Video

Download history 531/week @ 2024-11-04

531 downloads per month

MIT license

10KB
147 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
~47K SLoC