From 4591fedd3bcb82852d647f13f7873436dbb5ac2a Mon Sep 17 00:00:00 2001 From: Aykhan Date: Fri, 15 Aug 2025 12:00:38 +0400 Subject: [PATCH] fix vidify js regex --- src/providers/embeds/vidify.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/embeds/vidify.ts b/src/providers/embeds/vidify.ts index 5a8fd61..aaffe82 100644 --- a/src/providers/embeds/vidify.ts +++ b/src/providers/embeds/vidify.ts @@ -26,7 +26,7 @@ async function getAuthHeader(ctx: any): Promise { }, }); - const jsFileRegex = /\/assets\/index-([a-zA-Z0-9]+)\.js/; + const jsFileRegex = /\/assets\/index-([a-zA-Z0-9-]+)\.js/; const jsFileMatch = playerPage.match(jsFileRegex); if (!jsFileMatch) { throw new Error('Could not find the JS file URL in the player page');