mirror of
https://github.com/p-stream/providers.git
synced 2026-01-11 20:10:33 +00:00
Update turbovid.ts
This commit is contained in:
parent
8d762d2f42
commit
50a600ab34
1 changed files with 2 additions and 3 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import { flags } from '@/entrypoint/utils/targets';
|
||||
import { makeEmbed } from '@/providers/base';
|
||||
import { createM3U8ProxyUrl } from '@/utils/proxy';
|
||||
|
||||
// Thanks to Paradox_77 for helping with the decryption
|
||||
function hexToChar(hex: string): string {
|
||||
|
|
@ -95,8 +94,8 @@ export const turbovidScraper = makeEmbed({
|
|||
{
|
||||
type: 'hls',
|
||||
id: 'primary',
|
||||
playlist: createM3U8ProxyUrl(playlist, ctx.features, streamHeaders),
|
||||
headers: streamHeaders,
|
||||
playlist,
|
||||
preferredHeaders: streamHeaders,
|
||||
flags: [flags.CORS_ALLOWED],
|
||||
captions: [],
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue