this post was submitted on 19 Mar 2025
26 points (93.3% liked)

Python

6889 readers
15 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

πŸ“… Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
πŸ’“ Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 2 years ago
MODERATORS
 

I made this Python menu-driven CLI script for yt-dlp. It guides you through a series of menus to download content from a YouTube URL.

If anyone is interested, feedback would be greatly appreciated as only I have tested this so far, and I want to make sure it works for other people's systems.

If you encounter any issues or bugs, let me know so I can fix them!

Edit: I should mention: This is not a pipx package. That was never the intention developing this initially. I might make it a package in the future, but for now, it is just a project directory.

top 12 comments
sorted by: hot top controversial new old
[–] vimmiewimmie@lemm.ee 5 points 3 days ago

I like the thought behind this. I've considered something similar for yt-dlp. Thanks for putting it out there and keep it up!

[–] dumblederp@aussie.zone 1 points 3 days ago

I use tartube already.

[–] rimu@piefed.social 3 points 4 days ago (3 children)

I tried to run it but it wouldn't on the version of python I have.

If you could bring yourself to use if .. elif .. etc instead of match then it could run it on much older versions of python.

[–] pupbiru@aussie.zone 5 points 4 days ago (1 children)

but then they wouldn’t be using match

[–] logging_strict@programming.dev -3 points 4 days ago* (last edited 4 days ago)

Using match is virtue signaling that have no intention of creating a working package.

What's next on the list of crap could all live without?

[–] AstroLightz@lemmy.world 1 points 4 days ago (1 children)

What version of Python were you using?

[–] rimu@piefed.social 1 points 4 days ago (1 children)
[–] AstroLightz@lemmy.world 1 points 3 days ago

I'm testing different Python versions to see what the minimum is for yt-dlp-adv is. I know 3.10 is when they added match-case, so 3.9 isn't supported. Will update README with minimum working version after I'm done testing.

Why? It's not a package? There are no tests or anything else. It's held together with duct tape, hope, and good intentions. So of course it'll not work as intended.