Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- COUNTER=2
- for i in `cat ~/tvtz/id_list`;
- do
- if [ $COUNTER -lt 1 ]
- then
- exit
- else
- if [ -f ~/tvtz/pages/$i.html ]
- then
- continue
- else
- curl -b "uid=asd; pass=asdf" "http://tvtorrentz.org/details.php?id=$i&filelist=1" > ~/tvtz/pages/$i.html
- sleep 8
- (( COUNTER=COUNTER-1 ))
- continue
- fi
- fi
- done
Add Comment
Please, Sign In to add comment