Advertisement
Guest User

dickflash / downloader

a guest
May 28th, 2013
1,040
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. # scripting by the downloader, posted on dickflash.com
  2. aptitude -y update
  3. aptitude -y install xml-twig-tools
  4. echo {0..9}{0..9}{0..9}{0..9} > a
  5. for b in $(cat a); do
  6. wget http://www.uflash.tv/media/player/config.php?vkey=$b
  7. IFS='
  8. '
  9. c=$(xml_grep 'src' config.php?vkey=$b --text_only | grep -v uflash | sed '$d')
  10. wget $c
  11. rm config.php?vkey=$b
  12. wget http://www.uflash.tv/video/$b
  13. d=$(echo $b | sed -e 's/^0*//')
  14. e=$( sed -n -e 's/.*<title>\(.*\)<\/title>.*/\1/p' $b | sed "s/ //g" )
  15. e=${e:7}
  16. e=${e%???????????}
  17. mv "$d".flv "$e".flv
  18. rm $b
  19. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement