Unable to download from bitbucket cloud with Python requests

That’s excellent, thank you. So simple auth works. I have an exe I want to keep updating so now I suppose the question is why this works and why this other script of mine does not download. I will post it as separate question