aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/models/extractor.ts18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/models/extractor.ts b/src/models/extractor.ts
new file mode 100644
index 0000000..71c6be1
--- /dev/null
+++ b/src/models/extractor.ts
@@ -0,0 +1,18 @@
+export interface Video {
+ url: string;
+ quality?: string;
+ isM3U8?: boolean;
+ size?: number;
+ [x: string]: unknown;
+}
+
+export interface Subtitle {
+ id?: string;
+ url: string;
+ lang: string;
+}
+
+export interface Intro {
+ start: number;
+ end: number;
+}