Archive

Archive for January 6th, 2010

download all railscasts

January 6th, 2010 Comments off

I think most of You knows http://railscasts.com/, probably you were using one of the scripts:

http://maximilianoguzman.com.ar/2009/05/26/railscasts-downloader
http://gakshay.blogspot.com/2009/03/railscasts-crawler-download-all.html

And probably there is more such scripts, but I would propose another solution, on line of bash code:

wget -q -O – http://feeds.feedburner.com/railscasts | awk -F \” ‘/media:content/ {print $4}’ | head -n 2 | wget -i – -c

Update 2010-01-09: “head -n 2″ is for controling ammount, change it to something bigger if You need more then 2.