#!/bin/bash
host='http://stinger.5gigs.com/sites/ExtraTV'

mkdir playlist
cd playlist
mkdir playlist_tmp
cd playlist_tmp

wget  -A html,htm -nd -nH -r  $host/list.html

for i in $(cat * | egrep 'stream' | awk '{print $3}' | awk -F '"' '{print $2}' ); do
	wget  $host/$i 
done    

mv *.asx ../  
rm -r ../playlist_tmp

