How do I prevent wget from following redirects?
Some versions of wget have a --max-redirect option: See here
wget
--max-redirect