this post was submitted on 01 Sep 2024
237 points (97.2% liked)

Asklemmy

43383 readers
1614 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
 

FOSS or otherwise

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 26 points 2 weeks ago (2 children)

Yt-dlp. It's basically the only way I download music nowadays.

[โ€“] [email protected] 7 points 2 weeks ago* (last edited 2 weeks ago)

Someday, when I'm not balls-to-the-wall poor I'll actually support the artists. Until then, it's not illegal for personal use, and morally it's that or just no music.

[โ€“] [email protected] 3 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Speaking of, is there a known way to get around the "sign in" blocking? It's not working anymore.

[โ€“] [email protected] 2 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

It's fixed in the development versions. If you installed yt-dlp using pip, update with the prerelease flag: pip install --upgrade --pre yt-dlp. If you manually installed it, run yt-dlp --update-to nightly or grab the latest dev from their nightly repo.

[โ€“] [email protected] 2 points 2 weeks ago (1 children)

Ah. I'll switch to pip then. I've been using the deb package. Thanks!

[โ€“] [email protected] 2 points 2 days ago

I just updated to the newest Ubuntu LTS, which puts pip into system managed mode so you can't easily install packages outside of a virtual environment anymore.

If you (or anyone who stumbles upon this comment in the future) run into this problem, the new recommended way to install yt-dlp through pip and keep it in your path and up to date is via pipx (sudo apt install pipx). The syntax is a bit gnarly for pre-releases, so I figured I'd post an update:

To install the nightly: pipx install --pip-args '\--pre' yt-dlp

To update the nightly: pipx upgrade --pip-args '\--pre' yt-dlp

I alias the update command and run it before every download session.