summaryrefslogtreecommitdiff
path: root/yt-feed
diff options
context:
space:
mode:
authorbtkoch <brandon@brandon-desktop.localdomain>2023-11-25 18:28:00 -0500
committerbtkoch <brandon@brandon-desktop.localdomain>2023-11-25 18:28:00 -0500
commit6d4bc9cceb9a180acb811d409745ce5dd3732e1d (patch)
tree2f67362225adb960fc4aef2e822533bdbf61d26a /yt-feed
parentd6e4c4e9ad72d71cf01f835e03ffed100d69fccd (diff)
Complete rewrite and rename
Diffstat (limited to 'yt-feed')
-rwxr-xr-xyt-feed13
1 files changed, 0 insertions, 13 deletions
diff --git a/yt-feed b/yt-feed
deleted file mode 100755
index 98b19e2..0000000
--- a/yt-feed
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-if [ -z "$1" ]; then
- echo "Usage: $0 [-i] <channel name (no @)>"
- exit
-elif [[ $1 != -i ]]; then
- url=$(curl -s "https://validator.w3.org/feed/check.cgi?url=https://youtube.com/@$1" | grep "Validator Results" | sed -n 's/.*Results: \(.*\)<\/title>.*/\1/p')
- echo $url
-else [ $1 == -i ];
- url=$(curl -s "https://validator.w3.org/feed/check.cgi?url=https://youtube.com/@$2" | grep "Validator Results" | sed -n 's/.*id=\(.*\)<\/title>.*/\1/p')
- echo $url
-fi
-
-