Skip to content

Commit

Permalink
api/youtube: don't retrieve the player as cobalt doesn't use it
Browse files Browse the repository at this point in the history
we don't decipher anything lol
  • Loading branch information
wukko committed Dec 10, 2024
1 parent e1b84e7 commit 4b8b0a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/src/processing/services/youtube.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ const cloneInnertube = async (customFetch) => {
const shouldRefreshPlayer = lastRefreshedAt + PLAYER_REFRESH_PERIOD < new Date();
if (!innertube || shouldRefreshPlayer) {
innertube = await Innertube.create({
fetch: customFetch
fetch: customFetch,
retrieve_player: false,
});
lastRefreshedAt = +new Date();
}
Expand Down

0 comments on commit 4b8b0a0

Please sign in to comment.