|
| From: | Max Nikulin |
| Subject: | Re: watch YT videos through in Emacs [Was: Interest in an Org video meetup?] |
| Date: | Wed, 12 Oct 2022 17:24:26 +0700 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 |
On 12/10/2022 16:26, Ihor Radchenko wrote:
if echo "$URL" | grep "ted.com/talks"; then
mpv $URL && exit;
fi
# if echo "$URL" | grep "reddit.com"; then
# URL="$(echo "$URL" | sed -rE 's/www\.reddit\.com/libredd.it/')"
# fi
if echo "$URL" | grep "bilibili.com"; then
mpv $URL && exit;
fi
case "$URL" in
*ted.com/talks*|*bilibili.com*)
mpv "$URL" && exit
;;
esac
| [Prev in Thread] | Current Thread | [Next in Thread] |