about summary refs log tree commit diff stats
path: root/yt_dlp/src/wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/src/wrapper')
-rw-r--r--yt_dlp/src/wrapper/info_json.rs9
1 files changed, 7 insertions, 2 deletions
diff --git a/yt_dlp/src/wrapper/info_json.rs b/yt_dlp/src/wrapper/info_json.rs
index 09247db..73df11c 100644
--- a/yt_dlp/src/wrapper/info_json.rs
+++ b/yt_dlp/src/wrapper/info_json.rs
@@ -88,6 +88,7 @@ pub struct InfoJson {
     pub like_count: Option<u32>,
     pub live_status: Option<String>,
     pub location: Option<Todo>,
+    pub manifest_url: Option<Url>,
     pub modified_date: Option<String>,
     pub n_entries: Option<u32>,
     pub original_url: Option<String>,
@@ -222,6 +223,8 @@ pub struct Caption {
     pub url: String,
     pub filepath: Option<PathBuf>,
     pub video_id: Option<String>,
+    pub manifest_url: Option<Url>,
+    pub filesize: Option<u64>,
 }
 
 #[derive(Debug, Deserialize, Serialize, PartialEq, PartialOrd)]
@@ -308,10 +311,11 @@ pub enum Extractor {
 
     #[serde(alias = "SVTSeries")]
     SVTSeries,
+    #[serde(alias = "SVTPlay")]
+    SVTPlay,
 
     #[serde(alias = "youtube")]
     YouTube,
-
     #[serde(alias = "youtube:tab")]
     YouTubeTab,
 }
@@ -324,10 +328,11 @@ pub enum ExtractorKey {
 
     #[serde(alias = "SVTSeries")]
     SVTSeries,
+    #[serde(alias = "SVTPlay")]
+    SVTPlay,
 
     #[serde(alias = "Youtube")]
     YouTube,
-
     #[serde(alias = "YoutubeTab")]
     YouTubeTab,
 }