Skip to content

Commit

Permalink
feature(extractors | providers): add subtitles(tracks) in some of the…
Browse files Browse the repository at this point in the history
… extractors so that thumbnail preview can be used when progressing using slider, add sflix provider in movies and streamwish extractor in dramacool
  • Loading branch information
2004durgesh committed Nov 9, 2024
1 parent 83debec commit c7ace84
Show file tree
Hide file tree
Showing 40 changed files with 1,672 additions and 53 deletions.
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

0 comments on commit c7ace84

Please sign in to comment.