Script to download annoying Navy Alarm Sounds
I needed some annoying alarm sounds on my computer to use as alarm clock sounds. I found this site to have some really annoying alarm sounds.
For some reason wget -r -l 2 will not download .wav files... no idea why...
So I had to write a script around it:
---
So why will "wget -r" NOT download .wav files??
For some reason wget -r -l 2 will not download .wav files... no idea why...
So I had to write a script around it:
$ cat foo.sh #! /bin/bash # Get the page wget http://policeinterceptor.com/navysounds.htm -O navysounds.html # Parse out the wav URLs cat navysounds.html |grep wav| sed "s/.*http:\/\///g" | sed "s/\".*//g" > wav_list ## do something to get audio url for i in `cat wav_list`; do echo $i wget $i done
---
So why will "wget -r" NOT download .wav files??
