I am trying to download https://bitbucket.org/multicoreware/x265_git/downloads/x265_4.1.tar.gz in a Github actions workflow using wget. When I access that URL manually I am able to download the file. When I try to access it using wget from my computer (or through github actions) I receive error 404. This must be a recent change as it used to work. Why is this happening and how can I programatically download the file correctly?
I found wget on repository atlassian returning 404 but that only seems to apply to requests which require authentication. In my case I tried a private browsing window and the download was still working properly, so authentication is not the key here (and it shouldn't be as it's a public repository after all).