To use wget with proxy use it like shown below.

wget "http://example.com" -e use_proxy=yes -e http_proxy=127.0.0.1:8118