mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix bedrock url
This commit is contained in:
parent
6759d840f3
commit
6e28da4195
@ -117,7 +117,7 @@ class Helpers:
|
|||||||
Get latest bedrock executable url \n\n
|
Get latest bedrock executable url \n\n
|
||||||
returns url if successful, False if not
|
returns url if successful, False if not
|
||||||
"""
|
"""
|
||||||
url = "https://minecraft.net/en-us/download/server/bedrock/"
|
url = "https://www.minecraft.net/en-us/download/server/bedrock/"
|
||||||
headers = {
|
headers = {
|
||||||
"Accept-Encoding": "identity",
|
"Accept-Encoding": "identity",
|
||||||
"Accept-Language": "en",
|
"Accept-Language": "en",
|
||||||
@ -127,8 +127,8 @@ class Helpers:
|
|||||||
"Chrome/104.0.0.0 Safari/537.36"
|
"Chrome/104.0.0.0 Safari/537.36"
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
target_win = 'https://minecraft.azureedge.net/bin-win/[^"]*'
|
target_win = 'https://www.minecraft.azureedge.net/bin-win/[^"]*'
|
||||||
target_linux = 'https://minecraft.azureedge.net/bin-linux/[^"]*'
|
target_linux = 'https://www.minecraft.azureedge.net/bin-linux/[^"]*'
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# Get minecraft server download page
|
# Get minecraft server download page
|
||||||
|
Loading…
Reference in New Issue
Block a user