I want to use Sphinx linkcheck to check the documentation of Python projects for dead links. Some links point to stuff on Bitbucket and I need to provide credentials to see if those links are still alive. The sphinx documentation explains how to add credentials but I am struggling to get them to work. The following minimal example always yields a response telling me that Bitbucket does not support account passwords anymore, although I am using an app password.
Hello Felipe,
Welcome to Atlassian Community!
I'm not really sure about the python syntax for that library, but looking at the example you shared, it seems like you are using the e-mail address as the username, and this is likely the reason why you are facing the authentication error.
To use basic authentication in calls to Bitbucket API you need to provide :
So in this case, you can try replacing the e-mail address with your bitbucket username and try executing the script again.
Hope that helps! Let me know if you have any questions.
Thank you, @Felipe Peter .
Kind regards,
Patrik S
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.