Skip to content

Commit

Permalink
fix(megacloud): extractor (#630)
Browse files Browse the repository at this point in the history
* fix(zoro): Fix megacloud extractor

* Fix useless

---------

Co-authored-by: Mohtasim Alam Sohom <[email protected]>
  • Loading branch information
shimizudev and shimizudev authored Dec 21, 2024
1 parent 55b6996 commit 727dc4b
Show file tree
Hide file tree
Showing 19 changed files with 3,067 additions and 367 deletions.
19 changes: 0 additions & 19 deletions dist/extractors/megacloud.d.ts

This file was deleted.

154 changes: 0 additions & 154 deletions dist/extractors/megacloud.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/extractors/megacloud.js.map

This file was deleted.

29 changes: 29 additions & 0 deletions dist/extractors/megacloud/index.d.ts
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;
131 changes: 131 additions & 0 deletions dist/extractors/megacloud/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 727dc4b

Please sign in to comment.