From 6f18214cfcc7ad85da6fd22aad3b06adf9cc8b34 Mon Sep 17 00:00:00 2001 From: Pas <74743263+Pasithea0@users.noreply.github.com> Date: Fri, 16 May 2025 20:54:00 -0600 Subject: [PATCH] Update streamwish.ts --- 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 e927e04..5b34de0 100644 --- a/src/providers/embeds/streamwish.ts +++ b/src/providers/embeds/streamwish.ts @@ -27,12 +27,10 @@ function embed(provider: { id: string; name: string; rank: number }) { name: provider.name, rank: provider.rank, async scrape(ctx) { - console.log('Starting scrape for StreamWish with URL:', ctx.url); - const encodedUrl = encodeURIComponent(ctx.url); const apiUrl = `https://ws-m3u8.moonpic.qzz.io/m3u8/${encodedUrl}`; - const response = await fetch(apiUrl, { + const response = await fetcher(apiUrl, { headers: { Accept: 'application/json', // 'ngrok-skip-browser-warning': 'true', // this header bypass ngrok warning