sxyprn includes referer on post sites

This commit is contained in:
Simon
2026-06-24 18:10:44 +00:00
parent 94e9603fe5
commit 8373d49593

View File

@@ -482,6 +482,7 @@ impl SxyprnProvider {
);
formats.push(
VideoFormat::new(sxyprn_url.clone(), "auto".to_string(), "mp4".to_string())
.http_header("Referer".to_string(), "https://sxyprn.com/".to_string())
.format_note(sxyprn_url.split("/").nth(4).unwrap_or("sxyprn").to_string()),
);