dlp

CLI to use yt-dlp
easily. yt-dlp
have many options and it can be hard to do simple things. This CLI is here to help you.
[!NOTE]
This package use informations from tutorials
Install
go install github.com/ewilan-riviere/dlp@latest
Dependencies:
Update
Update to the latest version
go install github.com/ewilan-riviere/dlp@latest
Usage
channel
: download a channel
chapters
: download a video with chapters (don't work with downloads
flag)
get
: download a video, a playlist or a channel
playlist
: download a playlist
video
: download a video
Parameter can be set directly:
dlp video https://www.youtube.com/watch?v=dQw4w9WgXcQ
dlp video dQw4w9WgXcQ
Or after the command:
dlp video
Please enter a video URL or a Youtube ID
URL or ID: dQw4w9WgXcQ
get
command will download a video, a playlist or a channel, it will guess from the URL or the ID. If you want to use a direct command, you can use video
, chapters
, playlist
or channel
command.
Argument can be a URL or an YouTube ID, it will be detected automatically. With URL, it possible to use another website than YouTube, like DailyMotion or PeerTube for example, ID only accept YouTube ID (video, playlist or channel).
[!NOTE]
Playlist and channel videos will be downloaded in a folder with the name of the playlist or the channel. And index will be added to the name of the video.
- Video quality is set to
best
with maximum to 1080p
- Videos will be downloaded in
Downloads
folder
- You can execute command without argument, it will ask you to enter an URL or an ID.
Options:
-a
or --audio
: download only audio
-d
or --downloads
: save videos to Downloads folder, default is current folder (don't work with chapters
command)
Example
Here URL used are from YouTube but it works with other websites.
Video full URL
dlp get https://www.youtube.com/watch?v=dQw4w9WgXcQ
ID (only for YouTube)
dlp get dQw4w9WgXcQ
Short command
dlp get
Will ask:
Please enter a video URL or a Youtube ID
URL or ID: dQw4w9WgXcQ
Playlist full URL
dlp get https://www.youtube.com/playlist?list=PLomb1f2d9BZrQc82QHJEDYgnPXHfMDjlC
ID (only for YouTube)
dlp get PLomb1f2d9BZrQc82QHJEDYgnPXHfMDjlC
dlp get
Will ask:
Please enter a video URL or a Youtube ID
URL or ID: PLomb1f2d9BZrQc82QHJEDYgnPXHfMDjlC
Channel full URL
dlp get https://www.youtube.com/@FranceInter
ID (only for YouTube)
dlp get @FranceInter
dlp get
Will ask:
Please enter a video URL or a Youtube ID
URL or ID: @FranceInter
Roadmap
License
MIT © Ewilan Rivière