|
From: | Emanuel Berg |
Subject: | Re: A way to watch (some) videos about Emacs with wget and mpv |
Date: | Tue, 27 Dec 2022 15:13:44 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) |
Philip Kaludercic wrote: > All you need is "mpv https://some.host/path/to/video.file" or "mpv > https://a.service/that/doesnt/host/video/files.directly", assuming > you have youtube-dl installed. Some say yt-dlp is better ... #! /bin/zsh # # this file: # https://dataswamp.org/~incal/conf/.zsh/yt-dlp dl-upgrade-3 () { yt-dlp -U yt-dlp --version } dl-upgrade-2 () { local gz=https://github.com/yt-dlp/yt-dlp/archive/master.tar.gz python3 -m pip install --force-reinstall $gz yt-dlp --version } dl-upgrade () { local url=https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp local bin=/usr/local/bin/yt-dlp sudo curl -L $url -o $bin sudo chmod a+rx $bin yt-dlp --version } -- underground experts united https://dataswamp.org/~incal
[Prev in Thread] | Current Thread | [Next in Thread] |