Skip to content

Commit

Permalink
Update user agent
Browse files Browse the repository at this point in the history
  • Loading branch information
ACGaming committed Apr 10, 2024
1 parent 33a3f7e commit 394f5d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 394f5d6

Please sign in to comment.