mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 16:53:24 +00:00
Added unknown to stream Qualities union
This commit is contained in:
@@ -27,10 +27,7 @@ export const mixdropScraper = makeEmbed({
|
|||||||
type: 'file',
|
type: 'file',
|
||||||
flags: [flags.NO_CORS],
|
flags: [flags.NO_CORS],
|
||||||
qualities: {
|
qualities: {
|
||||||
// TODO - Allow unknown qualitys?
|
unknown: {
|
||||||
// MixDrop does not give quality info
|
|
||||||
// This is just so it's even visible
|
|
||||||
'1080': {
|
|
||||||
type: 'mp4',
|
type: 'mp4',
|
||||||
url: url.startsWith('http') ? url : `https:${url}`, // URLs don't always start with the protocol
|
url: url.startsWith('http') ? url : `https:${url}`, // URLs don't always start with the protocol
|
||||||
headers: {
|
headers: {
|
||||||
|
@@ -6,7 +6,7 @@ export type StreamFile = {
|
|||||||
headers?: Record<string, string>;
|
headers?: Record<string, string>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type Qualities = '360' | '480' | '720' | '1080';
|
export type Qualities = 'unknown' | '360' | '480' | '720' | '1080';
|
||||||
|
|
||||||
export type FileBasedStream = {
|
export type FileBasedStream = {
|
||||||
type: 'file';
|
type: 'file';
|
||||||
|
Reference in New Issue
Block a user