-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix(zoro): Fix megacloud extractor * Fix useless --------- Co-authored-by: Mohtasim Alam Sohom <[email protected]>
- Loading branch information
1 parent
55b6996
commit 727dc4b
Showing
19 changed files
with
3,067 additions
and
367 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { ISource, IVideo, VideoExtractor } from '../../models'; | ||
export type track = { | ||
file: string; | ||
kind: string; | ||
label?: string; | ||
default?: boolean; | ||
}; | ||
type intro_outro = { | ||
start: number; | ||
end: number; | ||
}; | ||
export type unencryptedSource = { | ||
file: string; | ||
type: string; | ||
}; | ||
export type extractedSources = { | ||
sources: string | unencryptedSource[]; | ||
tracks: track[]; | ||
encrypted: boolean; | ||
intro: intro_outro; | ||
outro: intro_outro; | ||
server: number; | ||
}; | ||
declare class MegaCloud extends VideoExtractor { | ||
protected serverName: string; | ||
protected sources: IVideo[]; | ||
extract(embedIframeURL: URL): Promise<ISource>; | ||
} | ||
export default MegaCloud; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.