sxyprn includes referer on post sites
This commit is contained in:
@@ -482,6 +482,7 @@ impl SxyprnProvider {
|
|||||||
);
|
);
|
||||||
formats.push(
|
formats.push(
|
||||||
VideoFormat::new(sxyprn_url.clone(), "auto".to_string(), "mp4".to_string())
|
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()),
|
.format_note(sxyprn_url.split("/").nth(4).unwrap_or("sxyprn").to_string()),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user