mirror of
https://github.com/LuanRT/googlevideo.git
synced 2026-06-13 08:42:31 +00:00
chore(onesie-example): Fix duplicate & in the /initplayback URL
This commit is contained in:
@@ -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('&')}`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user