Skip to content

Commit

Permalink
proxy the /player endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
munishkhatri720 committed Nov 14, 2024
1 parent a420626 commit a33ef62
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
public interface Client {
String WATCH_URL = "https://www.youtube.com/watch?v=";
String API_BASE_URL = "https://youtubei.googleapis.com/youtubei/v1";
String PLAYER_URL = "http://localhost:4500/proxy?url=" + URLEncoder.encode(API_BASE_URL + "/player?prettyPrint=false" , "UTF-8");
String PLAYER_URL = "http://localhost:4500/proxy?url=https%3A%2F%2Fyoutubei.googleapis.com%2Fyoutubei%2Fv1%2Fplayer%3FprettyPrint%3Dfalse";
String SEARCH_URL = API_BASE_URL + "/search?prettyPrint=false";
String NEXT_URL = API_BASE_URL + "/next?prettyPrint=false";
String BROWSE_URL = API_BASE_URL + "/browse?prettyPrint=false";
Expand Down

0 comments on commit a33ef62

Please sign in to comment.