aboutsummaryrefslogtreecommitdiff
path: root/macos.local/flake/home/scripts/yt-to-rss.org
blob: 99d975ad443e86fbb267701777c23b6112fb2ca8 (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

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