From 4d29d19c0ad1557510b29266fe42597f429bf7b1 Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 23 Feb 2026 09:03:46 +0000 Subject: [PATCH] add episode title as format_note --- src/providers/hentaihaven.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/providers/hentaihaven.rs b/src/providers/hentaihaven.rs index c55ce92..2fa283e 100644 --- a/src/providers/hentaihaven.rs +++ b/src/providers/hentaihaven.rs @@ -437,14 +437,15 @@ impl HentaihavenProvider { episode_id ); let format = VideoFormat::new(episode_url, "1080p".to_string(), "m3u8".to_string()) - .format_id(episode_title) + .format_id(episode_title.clone()) .http_header("Connection".to_string(), "keep-alive".to_string()) .http_header("User-Agent".to_string(), "Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0".to_string()) .http_header("Accept".to_string(), "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8".to_string()) .http_header("Accept-Language".to_string(), "en-US,en;q=0.5".to_string()) .http_header("Accept-Encoding".to_string(), "gzip, deflate, br".to_string()) .http_header("Sec-Fetch-Mode".to_string(), "navigate".to_string()) - .http_header("Origin".to_string(), self.url.clone()) + .http_header("Origin".to_string(), self.url.clone()) + .format_note(episode_title.clone()) ; formats.push(format); }