From 30fd3bf51ce574e65a250a68db4bac0f97ce8380 Mon Sep 17 00:00:00 2001 From: 20xd6 <20xd6@airmail.cc> Date: Thu, 24 Sep 2020 06:32:24 -0400 Subject: [PATCH] Add Script --- pod_grabber.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 pod_grabber.sh diff --git a/pod_grabber.sh b/pod_grabber.sh new file mode 100755 index 0000000..f9a1476 --- /dev/null +++ b/pod_grabber.sh @@ -0,0 +1,12 @@ +#!/bin/bash +#Download podcasts from rss feeds. + +target_url=$1 + +echo "Getting Feed..." +wget -q $target_url -O -|grep ".mp3"|sed -e 's/<[^>]*>//g'>.holding_file.txt +echo "Getting Podcast..." +wget -i .holding_file.txt +rm .holding_file.txt +echo "Download Finished." +exit