PDA

View Full Version : Want to download podcasts by bash script



Praveen30
August 22nd, 2011, 07:23 AM
Everyday i have to go to sites to download my podcast but i have heard this process can be automated with the help of scripts..so can anyone suggest me how to make a script to download podcasts, consider me as a rookie in bash scripting..so any tutorial will also be good..

fdrake
August 22nd, 2011, 07:55 AM
Everyday i have to go to sites to download my podcast but i have heard this process can be automated with the help of scripts..so can anyone suggest me how to make a script to download podcasts, consider me as a rookie in bash scripting..so any tutorial will also be good..



cd ~
mkdir podcast
cd ./podcast
cat > podcast.sh
#!/bin/bash
wget http://mysite.com/mypodcast
<press control +D>
chmod +x podcast.sh

you can add to eecute the script on a crontab . does the name of the podcast has any kind of structure (like podacadst.12-02-2011)?

jrogers360
February 2nd, 2012, 08:07 PM
podcast URL's are just an XML file pointing to the most recent files to download (think RSS)

OP should try to download package podracer, and use that to download podcasts.