From a167f0a5de32d822f20955358315431d2edf6f7e Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Thu, 29 Dec 2022 17:12:56 -0500 Subject: Added some new scripts --- .local/bin/ytrss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 .local/bin/ytrss (limited to '.local/bin/ytrss') diff --git a/.local/bin/ytrss b/.local/bin/ytrss new file mode 100755 index 0000000..8539b18 --- /dev/null +++ b/.local/bin/ytrss @@ -0,0 +1,15 @@ +#!/bin/sh + +if test -n "$1"; +then + id=$1 +elif test ! -t 0; +then + id=$(cat < /dev/stdin) +else + echo "ytrss: No Input" + exit +fi + +echo "https://www.youtube.com/feeds/videos.xml?channel_id="$id + -- cgit v1.2.3