adapted pmvhaven
This commit is contained in:
@@ -200,10 +200,10 @@ impl PmvhavenVideo {
|
||||
thumbnail,
|
||||
self.duration as u32,
|
||||
)
|
||||
.formats(vec![
|
||||
VideoFormat::new(format!("https://storage.pmvhaven.com/{}/{}_{}.mp4", video_id, encoded_title, video_id), "1080".to_string(), "mp4".to_string()).protocol("https".to_string()),
|
||||
VideoFormat::new(format!("https://storage.pmvhaven.com/{}/264_{}.mp4", video_id, video_id), "1080".to_string(), "mp4".to_string()).protocol("https".to_string())
|
||||
])
|
||||
//.formats(vec![
|
||||
// VideoFormat::new(format!("https://storage.pmvhaven.com/{}/{}_{}.mp4", video_id, encoded_title, video_id), "1080".to_string(), "mp4".to_string()).protocol("https".to_string()),
|
||||
// VideoFormat::new(format!("https://storage.pmvhaven.com/{}/264_{}.mp4", video_id, video_id), "1080".to_string(), "mp4".to_string()).protocol("https".to_string())
|
||||
//])
|
||||
|
||||
.views(self.views);
|
||||
item = match self.creator{
|
||||
|
||||
Reference in New Issue
Block a user