95
What is your private way of watching YouTube videos when Invidious or Piped are not working?
(discuss.tchncs.de)
Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.
In this community everyone is welcome to post links and discuss topics related to privacy.
much thanks to @gary_host_laptop for the logo design :)
yt-dlp
Downside is that you'll have to regularly delete all the videos you've downloaded.
Use yt-dlp URL -o - | mpv - This way the video goes directly to mpv without using the disk, avoiding the need to delete. It should work with other viewers as well.
Awesome, works with VLC as well. Thanks.
Another thing that I do is make an alias: alias pvid="yt-dlp $(xsel -b) -o - | mpv -". Install xsel first, xsel -b pastes what's in the clipboard. So you only have to copy the URL and execute pvid, no need to paste. Or even better make an app that executes that command and put it in the taskbar. You only have to click it after copying.
I wrote myself a Chrome add-on that adds a context menu entry to play or download links.
background.js
native_host.py (chatGPT wrote this because I can't Python)
The actions are just aliases for different qualities (old pi, so 720p60 stutters at times), audio extraction, etc.
Excellent.