about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--yt_dlp/src/wrapper/info_json.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/yt_dlp/src/wrapper/info_json.rs b/yt_dlp/src/wrapper/info_json.rs
index 73df11c..9c0d464 100644
--- a/yt_dlp/src/wrapper/info_json.rs
+++ b/yt_dlp/src/wrapper/info_json.rs
@@ -276,9 +276,15 @@ pub enum SponsorblockChapterCategory {
     #[serde(alias = "filler")]
     Filler,
 
+    #[serde(alias = "interaction")]
+    Interaction,
+
     #[serde(alias = "poi_highlight")]
     PoiHighlight,
 
+    #[serde(alias = "preview")]
+    Preview,
+
     #[serde(alias = "sponsor")]
     Sponsor,
 
@@ -514,10 +520,16 @@ pub struct DownloaderOptions {
 pub struct HttpHeader {
     #[serde(alias = "User-Agent")]
     pub user_agent: Option<String>,
+
     #[serde(alias = "Accept")]
     pub accept: Option<String>,
+
+    #[serde(alias = "X-Forwarded-For")]
+    pub x_forwarded_for: Option<String>,
+
     #[serde(alias = "Accept-Language")]
     pub accept_language: Option<String>,
+
     #[serde(alias = "Sec-Fetch-Mode")]
     pub sec_fetch_mode: Option<String>,
 }