Change redirect url from urllib2 to requests