Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # scripting by the downloader, posted on dickflash.com
- aptitude -y update
- aptitude -y install xml-twig-tools
- echo {0..9}{0..9}{0..9}{0..9} > a
- for b in $(cat a); do
- wget http://www.uflash.tv/media/player/config.php?vkey=$b
- IFS='
- '
- c=$(xml_grep 'src' config.php?vkey=$b --text_only | grep -v uflash | sed '$d')
- wget $c
- rm config.php?vkey=$b
- wget http://www.uflash.tv/video/$b
- d=$(echo $b | sed -e 's/^0*//')
- e=$( sed -n -e 's/.*<title>\(.*\)<\/title>.*/\1/p' $b | sed "s/ //g" )
- e=${e:7}
- e=${e%???????????}
- mv "$d".flv "$e".flv
- rm $b
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement