diff options
author | jjanzen <jjanzen@jjanzen.ca> | 2025-03-08 16:57:01 -0600 |
---|---|---|
committer | jjanzen <jjanzen@jjanzen.ca> | 2025-03-08 16:57:01 -0600 |
commit | 35e9245577f91692c575748c622c65d289519ce1 (patch) | |
tree | 4f97d5ecebd22f9c420f848885326b8d759d272c /macos.local/flake/home/scripts/yt-to-rss.py.org | |
parent | 96c0592f432198619ed5c55d6735e197724f6f18 (diff) |
system changes
Diffstat (limited to 'macos.local/flake/home/scripts/yt-to-rss.py.org')
-rw-r--r-- | macos.local/flake/home/scripts/yt-to-rss.py.org | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/macos.local/flake/home/scripts/yt-to-rss.py.org b/macos.local/flake/home/scripts/yt-to-rss.py.org deleted file mode 100644 index 619c6dd..0000000 --- a/macos.local/flake/home/scripts/yt-to-rss.py.org +++ /dev/null @@ -1,19 +0,0 @@ -#+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 python - import requests - from bs4 import BeautifulSoup - import sys - - channel_link = sys.argv[1] - - response = requests.get(channel_link) - soup = BeautifulSoup(response.content, "html.parser") - rss_link = soup.find("link", title="RSS") - rss_url = rss_link.get("href") - - print(rss_url) - -#+end_src |