mirror of
https://github.com/sussy-code/providers.git
synced 2026-04-19 15:42:05 +00:00
dirty fix for base64 encoded hls
This commit is contained in:
parent
2648cd6cca
commit
9152184b00
1 changed files with 3 additions and 0 deletions
|
|
@ -30,6 +30,9 @@ export async function validatePlayableStream(
|
|||
if (SKIP_VALIDATION_CHECK_IDS.includes(sourcererId)) return stream;
|
||||
|
||||
if (stream.type === 'hls') {
|
||||
// dirty temp fix for base64 urls to prep for fmhy poll
|
||||
if (stream.playlist.startsWith('data:')) return stream;
|
||||
|
||||
const result = await ops.proxiedFetcher.full(stream.playlist, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue