Есть такая программка #Streamlink, так вот она перестала работать на одном сайте, Разлом отправил баг репорт и её починили.
https://github.com/streamlink/streamlink
Here are the tools I use, if anyone's interested.
#DeArrow to browse my YouTube subscriptions (lets me know what to expect without loading the video)
wget can download simple videos on the web
#streamlink is helpful with .m3u8 streams (twitch is the big example; there are others)
#yt-dlp can do just about anything else. I add these flags to keep subtitles and avoid 4k:
yt-dlp --embed-subs -f "bestvideo[height<=1080]+bestaudio"
I call those in a loop between letting my laptop sleep:
rtcwake --date "01:00" -m mem && download loop && systemctl suspend
GUI tools also exist. E.g. youtube-viewer, youtube-desktop, plus all the front-end options around invidious. Personally I prefer the ritual of running command line tools, but do your own research.
I finally finished small guide on MPV, which just so happens to be my favorite media player!
#VTuber #mpv #yt-dlp #streamlink
[Tech Maid Guide] MPV media player - improve Youtube and Twitch support with yt-dlp and Streamlink
#tomyfutureself
When running a #docker container that outputs data on stdout which then gets piped to a host program (e.g. #streamlink in container piped to a video player on host system), it is a good idea to include the option "--log-driver none".
Otherwise the container's output gets saved to a json log inside /var/lib/docker, which can get pretty big pretty fast when watching a 1080p stream. 😅