Only want the audio of a video?
yt-dlp "https://www.youtube.com/watch?v=dQw4w9WgXcQ" --extract-audio --audio-format=mp3
Only want a bit of the video?
yt-dlp "https://www.youtube.com/watch?v=dQw4w9WgXcQ" --download-sections="*1:10-1:15"
Only want some chapters of the video?
yt-dlp "https://www.youtube.com/watch?v=dQw4w9WgXcQ" --download-sections="intro-outro"
Want to record a stream at the best quality?
Just point yt-dlp to it, it'll handle it.
I'm sure there are plenty, yt-dlp and has a lot of options. And of course it works on basically anything at this point (assuming there's no DRM), it fucking rules.
if you don't want to type every time you can also create a bat or sh file
set /p vid=""
yt-dlp %vid% --extract-audio --audio-format opus --output "in"
[your path to audacity]\audacity.exe in.opus
exit
it asks for video url, downloads the audio as opus and immediately opens audacity
