From 35e9245577f91692c575748c622c65d289519ce1 Mon Sep 17 00:00:00 2001 From: jjanzen Date: Sat, 8 Mar 2025 16:57:01 -0600 Subject: system changes --- macos.local/flake/home/scripts/yt-to-rss.org | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 macos.local/flake/home/scripts/yt-to-rss.org (limited to 'macos.local/flake/home/scripts/yt-to-rss.org') 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 -- cgit v1.2.3