From 0da18c1febb1fd361392ad27300bcb43d6d2ec6c Mon Sep 17 00:00:00 2001 From: localhost Date: Wed, 24 Sep 2025 20:48:00 +0200 Subject: [PATCH] AAAAAAAAAAAAAAAA --- index.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/index.ts b/index.ts index 90b879c..96412f3 100644 --- a/index.ts +++ b/index.ts @@ -108,9 +108,7 @@ app.get('/channel/:id', async (req, res) => { app.get('/videos/:id', async (req, res) => { try { const videos = []; - const yt = await Innertube.create({ - player_id: '0004de42' - }); + const yt = await Innertube.create(); const channel = await yt.getChannel(req.params.id); let json = await channel.getVideos(); @@ -134,9 +132,7 @@ app.get('/videos/:id', async (req, res) => { // @ts-ignore app.ws('/download/:id', async (ws, req) => { - const yt = await Innertube.create({ - player_id: '0004de42' - }); + const yt = await Innertube.create(); let quality = '480p' const info = await yt.getInfo(req.params.id, {