this post was submitted on 01 Mar 2025
462 points (98.3% liked)

Greentext

5310 readers
1107 users here now

This is a place to share greentexts and witness the confounding life of Anon. If you're new to the Greentext community, think of it as a sort of zoo with Anon as the main attraction.

Be warned:

If you find yourself getting angry (or god forbid, agreeing) with something Anon has said, you might be doing it wrong.

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] stom@sh.itjust.works 10 points 1 day ago (1 children)

You can add it as a right-click option to Firefox:

  • Install: https://webextension.org/listing/external-application-button.html
  • In the Extension options, add an application
  • Name it something like “Open in YT-DLP: mp4”
  • Set the exe name to the path of a local copy of yt-dlp
  • Set the arguments to be -S res,ext:mp4:m4a --recode mp4 [HREF]
  • Under the Placement options -> Context Menu -> select “All Contexts”

You should now be able to right click on a YouTube page and choose “External Application launcher -> Open in YT-DLP: mp4”

If you want audio only, add another application in the extension settings and use the arguments -f ba[ext=m4a] [HREF] for m4a files.

[–] Sanctus@lemmy.world 3 points 1 day ago