This commit is contained in:
Simon
2026-06-19 06:07:50 +00:00
parent 1a1a05941c
commit 674ea99b0d
2 changed files with 6 additions and 1 deletions

View File

@@ -370,6 +370,11 @@ impl FikfapProvider {
.unwrap_or_else(|| post.thumbnail_stream_url.clone());
let duration = post.duration.unwrap_or(0);
// The CDN requires a Referer on every request in the HLS session (master
// playlist, sub-playlists, and segments). Hot Tub clients apply a format's
// `http_headers` to the whole HLS playback session, not just the initial
// manifest fetch, so the documented `httpHeaders` mechanism is sufficient
// here without needing to reverse-proxy the media ourselves.
let format = VideoFormat::m3u8(
post.video_stream_url.clone(),
"auto".to_string(),