python3: tell curl to follow redirects