-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
83debec
commit c7ace84
Showing
40 changed files
with
1,672 additions
and
53 deletions.
There are no files selected for viewing
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 |
---|---|---|
@@ -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; |
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.