From 75bf64ca97ba0dd09bdc20d5de7e71c2ea0274a2 Mon Sep 17 00:00:00 2001 From: Pas <74743263+Pasithea0@users.noreply.github.com> Date: Sat, 17 May 2025 20:29:47 -0600 Subject: [PATCH] Revert "Update streamwish.ts" This reverts commit 53604e73047eb6b61312791e756f079cfaa5dd4c. --- src/providers/embeds/streamwish.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/providers/embeds/streamwish.ts b/src/providers/embeds/streamwish.ts index 16c2e63..5b34de0 100644 --- a/src/providers/embeds/streamwish.ts +++ b/src/providers/embeds/streamwish.ts @@ -30,7 +30,7 @@ function embed(provider: { id: string; name: string; rank: number }) { const encodedUrl = encodeURIComponent(ctx.url); const apiUrl = `https://ws-m3u8.moonpic.qzz.io/m3u8/${encodedUrl}`; - const response = await ctx.fetcher(apiUrl, { + const response = await fetcher(apiUrl, { headers: { Accept: 'application/json', // 'ngrok-skip-browser-warning': 'true', // this header bypass ngrok warning @@ -43,8 +43,6 @@ function embed(provider: { id: string; name: string; rank: number }) { const videoUrl = data.m3u8; if (!videoUrl) throw new NotFoundError('No video URL found'); - ctx.progress(99); - return { stream: [ {