aboutsummaryrefslogtreecommitdiff
path: root/macos.local/flake/home/scripts/yt-to-rss.org
diff options
context:
space:
mode:
authorjjanzen <jjanzen@jjanzen.ca>2025-03-08 16:57:01 -0600
committerjjanzen <jjanzen@jjanzen.ca>2025-03-08 16:57:01 -0600
commit35e9245577f91692c575748c622c65d289519ce1 (patch)
tree4f97d5ecebd22f9c420f848885326b8d759d272c /macos.local/flake/home/scripts/yt-to-rss.org
parent96c0592f432198619ed5c55d6735e197724f6f18 (diff)
system changes
Diffstat (limited to 'macos.local/flake/home/scripts/yt-to-rss.org')
-rw-r--r--macos.local/flake/home/scripts/yt-to-rss.org8
1 files changed, 8 insertions, 0 deletions
diff --git a/macos.local/flake/home/scripts/yt-to-rss.org b/macos.local/flake/home/scripts/yt-to-rss.org
new file mode 100644
index 0000000..99d975a
--- /dev/null
+++ b/macos.local/flake/home/scripts/yt-to-rss.org
@@ -0,0 +1,8 @@
+#+title: YouTube Channel to RSS Link
+
+Quick script to get the RSS link for a YouTube channel so I don't have to visit the website.
+#+begin_src sh
+ #!/bin/sh
+
+ curl "$1" 2> /dev/null | pup 'link[title="RSS"] attr{href}'
+#+end_src