Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
fix(YouTube - Client spoof): Set the client version correctly
Browse files Browse the repository at this point in the history
Previously the version was hardcoded.
  • Loading branch information
oSumAtrIX committed Oct 25, 2023
1 parent 55fe1f0 commit f203731
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ final class PlayerRoutes {

JSONObject client = new JSONObject();
client.put("clientName", "ANDROID");
client.put("clientVersion", "18.37.36");
client.put("clientVersion", ReVancedUtils.getVersionName());
client.put("androidSdkVersion", 34);

context.put("client", client);
Expand Down

0 comments on commit f203731

Please sign in to comment.