xxthots fix
This commit is contained in:
@@ -322,13 +322,7 @@ impl XxthotsProvider {
|
||||
)
|
||||
.views(views);
|
||||
if !preview.is_empty() {
|
||||
let mut format = VideoFormat::new(
|
||||
preview.clone(),
|
||||
"preview".to_string(),
|
||||
"video/mp4".to_string(),
|
||||
);
|
||||
format.add_http_header("Referer".to_string(), video_url.clone());
|
||||
video_item = video_item.preview(preview).formats(vec![format]);
|
||||
video_item = video_item.preview(preview);
|
||||
}
|
||||
items.push(video_item);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user