fikffap
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user