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

feature(extractors | providers): add subtitles(tracks) in some of the extractors so that thumbnail preview can be used when progressing using slider, add sflix provider in movies and streamwish extractor in dramacool #602

Merged
merged 1 commit into from
Nov 9, 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
8 changes: 6 additions & 2 deletions dist/extractors/gogocdn.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import { VideoExtractor, IVideo } from '../models';
import { VideoExtractor, IVideo, ISubtitle } from '../models';
declare class GogoCDN extends VideoExtractor {
protected serverName: string;
protected sources: IVideo[];
private readonly keys;
private referer;
extract: (videoUrl: URL) => Promise<IVideo[]>;
extract: (videoUrl: URL) => Promise<{
sources: IVideo[];
} & {
subtitles: ISubtitle[];
}>;
private addSources;
private generateEncryptedAjaxParams;
private decryptAjaxData;
Expand Down
10 changes: 9 additions & 1 deletion dist/extractors/gogocdn.js

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

2 changes: 1 addition & 1 deletion dist/extractors/gogocdn.js.map

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

8 changes: 6 additions & 2 deletions dist/extractors/streamwish.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import { VideoExtractor, IVideo } from '../models';
import { VideoExtractor, IVideo, ISubtitle } from '../models';
declare class StreamWish extends VideoExtractor {
protected serverName: string;
protected sources: IVideo[];
extract: (videoUrl: URL) => Promise<IVideo[]>;
extract: (videoUrl: URL) => Promise<{
sources: IVideo[];
} & {
subtitles: ISubtitle[];
}>;
}
export default StreamWish;
26 changes: 23 additions & 3 deletions dist/extractors/streamwish.js

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

Loading
Loading