From 394f5d6017844571121ddbaa6876bb0d43a7df93 Mon Sep 17 00:00:00 2001 From: ACGaming <4818419+ACGaming@users.noreply.github.com> Date: Wed, 10 Apr 2024 16:18:10 +0200 Subject: [PATCH] Update user agent --- .../src/main/java/net/jan/moddirector/core/util/WebClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod-director-core/src/main/java/net/jan/moddirector/core/util/WebClient.java b/mod-director-core/src/main/java/net/jan/moddirector/core/util/WebClient.java index b13a711..9265225 100644 --- a/mod-director-core/src/main/java/net/jan/moddirector/core/util/WebClient.java +++ b/mod-director-core/src/main/java/net/jan/moddirector/core/util/WebClient.java @@ -7,7 +7,7 @@ import java.net.URLConnection; public class WebClient { - public static final String USER_AGENT = "Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36"; + public static final String USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"; public static WebGetResponse get(URL url) throws IOException { URLConnection connection = url.openConnection();