-
Bug
-
Resolution: Awaiting Response
-
Normal
-
None
curl -L https://www.minecraft.net/en-us/download/server/bedrock
<HTML><HEAD>
<TITLE>Access Denied</TITLE>
</HEAD><BODY>
<H1>Access Denied</H1>
You don't have permission to access "http://www.minecraft.net/en-us/download/server/bedrock" on this server.<P>
Reference #18.27a2c017.1639575472.68c5ba1
</BODY>
</HTML>
This error occurs when trying to automatically get the latest version of Bedrock via a script.
e.g.
https://github.com/HuJK/Minecraft-Bedrock-server-updater/blob/master/mcUpdater.py
def getDWurl():
#get minecraft bedrock server dounload URL
MCurl = requests.get('https://www.minecraft.net/en-us/download/server/bedrock').text
MCSoup = BeautifulSoup(MCurl, 'html.parser')
for dwbtn in MCSoup.findAll("a",{"class":"btn btn-disabled-outline mt-4 downloadlink"}):
if dwbtn['data-platform'] == 'serverBedrockLinux':
return dwbtn['href']
No longer works.