Skip to content

Commit

Permalink
chore(onesie-example): Fix duplicate & in the /initplayback URL
Browse files Browse the repository at this point in the history
  • Loading branch information
LuanRT committed Nov 2, 2024
1 parent a6eb882 commit 175264b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/onesie-request/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,10 @@ async function getBasicInfo(innertube: Innertube, videoId: string): Promise<YT.V

const queryParams = [];
queryParams.push(`id=${onesieRequest.encodedVideoId}`);
queryParams.push('&opr=1');
queryParams.push('&por=1');
queryParams.push('&rn=1');
queryParams.push('&cmo:sensitive_content=yes');
queryParams.push('opr=1');
queryParams.push('por=1');
queryParams.push('rn=1');
queryParams.push('cmo:sensitive_content=yes');

url += `&${queryParams.join('&')}`;

Expand Down

0 comments on commit 175264b

Please sign in to comment.