Overclock.net › Member Blogs › Mp3 Download Script For Podcasts

Mp3 Download Script For Podcasts

The following script is what I use to download .mp3 podcasts from some of my favorite radio shows (i.e. TnT Radio Empire - NSFW btw). I use this script over other RSS feeds, as it allows me to download the shows overnight and carry the files on a thumb drive, for later consumption (car drives, work, etc).

Code:
#!/bin/sh

#Author:        Biggs
#Date:          July 24, 2011
#FILE:          grab.sh
#Description:   Audio File Grabber

#Substitute the URL address with any RSS capable URL address
#Command:  To download the listing for podcasts
wget "http://www.tntradioempire.com/rss/?type=podcasts&format=rss&path=/AUDIO/podcast" -O - | grep 'url="http' | cut -d\" -f2 > capture.txt


#Now to download the latest podcasts
wget --continue --limit-rate=55k -i capture.txt
This is also paired with an alias, so when I'm in the directory I don't have to remember to add the ./ before the script name.

Comments

There are no comments yet
Overclock.net › Member Blogs › Mp3 Download Script For Podcasts