Add Script
This commit is contained in:
parent
f20fed22ae
commit
30fd3bf51c
12
pod_grabber.sh
Executable file
12
pod_grabber.sh
Executable file
@ -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
|
Loading…
x
Reference in New Issue
Block a user