aboutsummaryrefslogtreecommitdiff
path: root/macos.local/flake/home/scripts/yt-to-rss.org
blob: afe31da98c2b9006699582f9d4fee7d29c9c59e0 (plain)
1
2
3
4
5
6
7
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

  /usr/bin/curl "$1" 2> /dev/null | /usr/bin/env pup 'link[title="RSS"] attr{href}'
#+end_src