Last active
December 26, 2015 05:09
-
-
Save Winiex/7098863 to your computer and use it in GitHub Desktop.
Some podcast download scripts.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/usr/bin/env bash | |
#Origin http://5by5.tv/buildanalyze/ | |
BASEURL=http://d.5by5.net/redirect.mp3/fly.5by5.tv/audio/broadcasts/buildanalyze/ | |
PREFIX=/buildanalyze- | |
MP3=.mp3 | |
for i in $(seq 1 1 108) | |
do | |
if [ $i -lt 7 ] | |
then | |
PODCAST=${BASEURL}2010${PREFIX}00${i}${MP3} | |
elif [ $i -lt 10 ] | |
then | |
PODCAST=${BASEURL}2011${PREFIX}00${i}${MP3} | |
elif [ $i -lt 58 ] | |
then | |
PODCAST=${BASEURL}2011${PREFIX}0${i}${MP3} | |
elif [ $i -lt 100 ] | |
then | |
PODCAST=${BASEURL}2012${PREFIX}0${i}${MP3} | |
else | |
PODCAST=${BASEURL}2012${PREFIX}${i}${MP3} | |
fi | |
axel -n 10 $PODCAST | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#Origin http://dongwutalkshow.com/ | |
BASTURL=http://traffic.libsyn.com/dongwutalkshow/ | |
MP3=.mp3 | |
for i in $(seq 201 1 399) | |
do | |
PODCAST=${BASEURL}${i}${MP3} | |
axel -n 10 $PODCAST | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#Origin http://teahour.fm/ | |
BASEURL=http://screencasts.b0.upaiyun.com/podcasts/ | |
NIL=http://screencasts.b0.upaiyun.com/podcasts/nil_podcast_1.m4a | |
DHH=http://screencasts.b0.upaiyun.com/podcasts/teahour_dhh.m4a | |
PREFIX1=teahour_podcast_ | |
PREFIX2=teahour_episode_ | |
MP3=.mp3 | |
M4A=.m4a | |
for i in $(seq 1 1 35) | |
do | |
if [ $i -eq 1 ] | |
then | |
PODCAST=$NIL | |
elif [ $i -lt 6 ] | |
then | |
PODCAST=$BASEURL$PREFIX1$i$MP3 | |
elif [ $i -lt 10 ] | |
then | |
PODCAST=$BASEURL$PREFIX1$i$M4A | |
elif [ $i -eq 10 ] | |
then | |
PODCAST=$DHH | |
else | |
PODCAST=$BASEURL$PREFIX2$i$M4A | |
fi | |
axel -n 10 $PODCAST | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#Origin0 http://5by5.tv/changelog/ | |
BASEURL=http://d.5by5.net/redirect.mp3/fly.5by5.tv/audio/broadcasts/changelog/2013/ | |
PREFIX=changelog- | |
MP3=.mp3 | |
for i in $(seq 1 1 108) | |
do | |
if [ $i -lt 10 ] | |
then | |
PODCAST=${BASEURL}${PREFIX}00${i}${MP3} | |
elif [ $i -lt 100 ] | |
then | |
PODCAST=${BASEURL}${PREFIX}0${i}${MP3} | |
else | |
PODCAST=${BASEURL}${PREFIX}${i}${MP3} | |
fi | |
axel -n 10 $PODCAST | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment