Added initial project files
This commit is contained in:
37
sh/unfilter.sh
Executable file
37
sh/unfilter.sh
Executable file
@@ -0,0 +1,37 @@
|
||||
# Unfilter downloader
|
||||
|
||||
#HDvideo="http://www.podtrac.com/pts/redirect.mp4/201310.jb-dl.cdn.scaleengine.net/las/2013/linuxactionshowep284.mp4"
|
||||
MOBILEvideo="http://www.podtrac.com/pts/redirect.mp4/201402.jb-dl.cdn.scaleengine.net/unfilter/2014/unfilter-0084-432p.mp4"
|
||||
MP3audio="http://www.podtrac.com/pts/redirect.mp3/traffic.libsyn.com/jbmirror/unfilter-0084-mp3.mp3"
|
||||
OGGaudio="http://www.podtrac.com/pts/redirect.ogg/traffic.libsyn.com/jbmirror/unfilter-0084-ogg.ogg"
|
||||
|
||||
destDIR="/home/$USER/syncs/unfilter/"
|
||||
|
||||
function chkDIR(){
|
||||
if [ ! -d ${destDIR} ];then
|
||||
mkdir ${destDIR}
|
||||
elif [ -d ${destDIR} ];then
|
||||
main
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
function main(){
|
||||
|
||||
rm -v -R ${destDIR}*.mp3
|
||||
rm -v -R ${destDIR}*.ogg
|
||||
rm -v -R ${destDIR}*.mp4
|
||||
|
||||
#wget ${HDvideo} -P ${destDIR}
|
||||
|
||||
wget ${MOBILEvideo} -P ${destDIR}
|
||||
|
||||
wget ${MP3audio} -P ${destDIR}
|
||||
|
||||
wget ${OGGaudio} -P ${destDIR}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
chkDIR
|
||||
Reference in New Issue
Block a user