hotfix pmvhaven

This commit is contained in:
Simon
2025-07-18 16:54:23 +00:00
parent 90f85dc6e8
commit 28db17a363

View File

@@ -190,7 +190,8 @@ impl PmvhavenVideo {
let mut item = VideoItem::new( let mut item = VideoItem::new(
self._id.clone(), self._id.clone(),
self.title.clone(), self.title.clone(),
format!("https://pmvhaven.com/video/{}_{}", self.title.replace(" ","-"), self._id), // format!("https://pmvhaven.com/video/{}_{}", self.title.replace(" ","-"), self._id),
format!("https://storage.pmvhaven.com/{}/{}_{}", self._id.clone(), self.title.replace(" ","-"), self._id),
"pmvhaven".to_string(), "pmvhaven".to_string(),
self.thumbnails[self.thumbnails.len()-1].clone().unwrap_or("".to_string()), self.thumbnails[self.thumbnails.len()-1].clone().unwrap_or("".to_string()),
self.duration as u32, self.duration as u32,