mirror of
https://github.com/p-stream/providers.git
synced 2026-01-11 20:10:33 +00:00
fix vidify js regex
This commit is contained in:
parent
b2ac6c2cf7
commit
4591fedd3b
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ async function getAuthHeader(ctx: any): Promise<string> {
|
|||
},
|
||||
});
|
||||
|
||||
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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue