this post was submitted on 16 Mar 2025
29 points (100.0% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

58947 readers
546 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):

🏴‍☠️ Other communities

Torrenting:

Gaming:


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 2 years ago
MODERATORS
29
yt-dlp CLI vs. yt-dlp GUI (lemmy.dbzer0.com)
submitted 18 hours ago* (last edited 18 hours ago) by [email protected] to c/[email protected]
 

On Windows 11, is it superior to use the command line interface (e.g., terminal) for interacting with yt-dlp? Or is a GUI like stacher.io sufficient for 99% of needs?

I'm also curious if it is better to use an Ubuntu WSL for yt-dlp CLI for a more streamlined terminal

top 19 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 3 hours ago

I find that preparing config files for each type of media is mighty useful for sustained use of the cli program. This makes it so that downloads all get specced identically. Then you prepare batch/bash scripts or aliases that point to those config files and place them in one of the paths in the environment variable %path% / ${PATH}. then you just call that batch file with the URLs you want to download.

[–] [email protected] 1 points 4 hours ago

Up to your preference. I do suggest making an alias for it so it automatically downloads to a specific directory.

[–] [email protected] 1 points 7 hours ago

Stacher is pretty handy. I don't think there are any drawbacks.

[–] [email protected] 7 points 13 hours ago

wait, there's GUIs available for yt-dlp??

[–] [email protected] 2 points 16 hours ago

To make the CLI even easier, just set up an alias in you bashrc file for it. I made it so I just need to type "yt" instead of "yt-dlp". Small change, but helpful imo.

[–] [email protected] 3 points 17 hours ago

FWIW I use the tartube gui in windows as it'll dl full playlists, even monitor channels and update with new released episodes.

[–] [email protected] 17 points 17 hours ago (1 children)

I never felt the need to use a GUI for it, it's very easy to use.

[–] [email protected] 1 points 12 hours ago

I used to, as I wasn't comfortable with CLI.

Then yeah I realized how easy it was to use lmao, CLI all day now.

[–] [email protected] 4 points 17 hours ago* (last edited 17 hours ago)

the cli is very simple to use as @hisao mentioned here, for any specific options I find that llms like Claude are very helpful for giving me the commands I need. "a yt-dlp command to download 720p with no audio" for example will give you the correct command to paste in

[–] [email protected] 13 points 18 hours ago* (last edited 18 hours ago) (1 children)

For the most common scenarios I personally find CLI very easy to use: I go to the destination folder, right-click "Open in Terminal" and then type yt-dlp linkcopypastedhere. That's all, multiple sites I used it with didn't require any extra params. Maybe if you want to customize something, like make your own file naming convention, etc, GUI could be handy.

[–] [email protected] 5 points 18 hours ago (1 children)

Maybe if you want to customize something, like make your own file naming convention, etc, GUI could be handy.

Even then, it's probably worth learning the CLI commands and setting up a config file with any desired settings. Once that's setup, you're back to yt-dlp url again.

[–] [email protected] 1 points 17 hours ago (1 children)

do you use a WSL or powershell? windows terminal is inferior to linux terminal imo

[–] [email protected] 6 points 17 hours ago (1 children)

I use PowerShell for damn near everything. But I'm pretty sure when you're just typing yt-dlp, space, then pasting the url, then any terminal is as good as any other.

[–] [email protected] 2 points 16 hours ago

good point, i did not know that you could change the configuration file instead of adding all the -cookies and -mp3 tags to the yt-dlp url ... command

[–] [email protected] 4 points 18 hours ago (1 children)

i have Total Commander open anyway and have a button on the button bar pointing to the yt-dlp.exe with the parameters below, the "?" makes it do a popup and I just insert the link at the end, it will create a new directory where you are located.

?--config-locations "locationofmy\yt-dlp.config" --output "%P%%(extractor_key)s/%%(uploader)s/%%(title)s-%%(id)s.%%(ext)s"

[–] [email protected] 0 points 18 hours ago (1 children)

sorry to comment off-topic. But why would you use total commander? I know of maybe two people who use it and I don't understand why. The UI is very outdated, the function keys are hard to press, and it forces two windows. I'm genuinely asking what are it's upsides that anyone would choose to use it?

[–] [email protected] 1 points 15 hours ago* (last edited 15 hours ago) (1 children)

It has a superset of features compared to the Explorer - Meaning it can do all the things that the explorer can do plus more.

I'm simply used to the two window layout since the old ages of Norton Commander ( Yes, Norton used to create useful products back then.). For me it is about hotkeys for functions ( Select, Filter, Copy, paste, move, delete). A multi rename tool. A search for file contents. A copy queue.

I do not use it for everything, but sometimes it's simply better when then standard windows tools.

[–] [email protected] 1 points 8 hours ago

This, I also come from the dos era, i'm accustomed to the split window. This was the "main look" of my PC before windows.

Similarly I cannot understand people who use explorer or anything to manage files, tc makes it so easy.

[–] [email protected] 4 points 18 hours ago

I'd say the CLI is perfectly fine, I have a config in the same folder so all I have to do is input the URL. I just switch between output directories for episode vs playlist by '#' commenting out the other.