mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 10:33:25 +00:00
Remove equal signs inside base64 encoded string
This commit is contained in:
@@ -18,7 +18,8 @@ export const vidsrcembedScraper = makeEmbed({
|
||||
const match = html
|
||||
.match(hlsURLRegex)?.[1]
|
||||
?.replace(/(\/\/\S+?=)/g, '')
|
||||
.replace('#2', '');
|
||||
.replace('#2', '')
|
||||
.replace(/=/g, '');
|
||||
if (!match) throw new Error('Unable to find HLS playlist');
|
||||
const finalUrl = atob(match);
|
||||
|
||||
|
Reference in New Issue
Block a user