diff options
| author | Jacob McDonnell <jacob@simplelittledream.com> | 2022-12-29 17:12:56 -0500 |
|---|---|---|
| committer | Jacob McDonnell <jacob@simplelittledream.com> | 2022-12-29 17:12:56 -0500 |
| commit | a167f0a5de32d822f20955358315431d2edf6f7e (patch) | |
| tree | cb543c3ea79d8354a276045e8b0cc0eaa3ff6804 /.local/bin/ytrss | |
| parent | b8ff930812770cb0a1b76536b34026c991b3cf44 (diff) | |
Added some new scripts
Diffstat (limited to '.local/bin/ytrss')
| -rwxr-xr-x | .local/bin/ytrss | 15 |
1 files changed, 15 insertions, 0 deletions
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 + |
