diff options
Diffstat (limited to 'macos.local/flake/home/scripts/yt-to-rss.py')
-rw-r--r-- | macos.local/flake/home/scripts/yt-to-rss.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/macos.local/flake/home/scripts/yt-to-rss.py b/macos.local/flake/home/scripts/yt-to-rss.py deleted file mode 100644 index c442fb3..0000000 --- a/macos.local/flake/home/scripts/yt-to-rss.py +++ /dev/null @@ -1,12 +0,0 @@ -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) |