Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(zoro): Fix megacloud extractor #630

Merged
merged 2 commits into from
Dec 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading