From c72dc6e1c2fd836ad0894877207b834ce3aedc6c Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 22 Aug 2024 14:29:22 +0200 Subject: fix(yt_dlp/info_json): Add further missing fields --- yt_dlp/src/wrapper/info_json.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'yt_dlp/src') 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, pub live_status: Option, pub location: Option, + pub manifest_url: Option, pub modified_date: Option, pub n_entries: Option, pub original_url: Option, @@ -222,6 +223,8 @@ pub struct Caption { pub url: String, pub filepath: Option, pub video_id: Option, + pub manifest_url: Option, + pub filesize: Option, } #[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, } -- cgit 1.4.1