you can set the proxy with the "http_proxy" environment variable
you can use for loops to go through all proxies in a file with something like this:
Code:
for i in $(cat prox.lst)
do
http_proxy="$i"
# do wget stuff
done
You could check the exit status of wget to determine if you should stay in the loop or not.