From ca09cede9d791ec9bb5c0d3a77b951d6cb741378 Mon Sep 17 00:00:00 2001 From: GSTAR <44748406+GLlgGL@users.noreply.github.com> Date: Sat, 8 Nov 2025 09:14:35 +0100 Subject: [PATCH] Update Streamtape.ts --- src/extractor/Streamtape.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/extractor/Streamtape.ts b/src/extractor/Streamtape.ts index 8163655..25f3cf2 100644 --- a/src/extractor/Streamtape.ts +++ b/src/extractor/Streamtape.ts @@ -13,8 +13,7 @@ export class Streamtape extends Extractor { public readonly label = 'Streamtape (via MediaFlow Proxy)'; public supports(ctx: Context, url: URL): boolean { - const supportedDomain - = null !== url.host.match(/streamtape/) + const supportedDomain = null !== url.host.match(/streamtape/) || [ 'strtape.cloud', 'streamta.pe', @@ -38,8 +37,7 @@ export class Streamtape extends Extractor { ].includes(url.host); return supportedDomain && supportsMediaFlowProxy(ctx); -} - + public override normalize(url: URL): URL { return new URL(url.href.replace('/e/', '/v/')); } @@ -76,4 +74,4 @@ export class Streamtape extends Extractor { }, ]; } -} \ No newline at end of file +}