Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- raise TooManyRedirects('Exceeded %s redirects.' % self.max_redirects, response=resp)
- requests.exceptions.TooManyRedirects: Exceeded 30 redirects
- sf = Salesforce(username='zzzz@yyy.com', password='zzzz', security_token='yyy')
- response = requests.get("https://c.na26.content.force.com/servlet/servlet.FileDownload?file=00P3200000oOw0C", headers = sf.headers, cookies = {'sid' : sf.session_id})
- print response.content
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement