This commit is contained in:
Simon
2025-07-18 04:02:32 +00:00
parent b4ee574433
commit 13c36a4328

View File

@@ -190,7 +190,7 @@ impl PmvhavenVideo {
let mut item = VideoItem::new(
self._id.clone(),
self.title.clone(),
format!("https://pmvhaven.com/video/{}_{}", self.title.replace(" ","-"), self._id),
format!("https://storage.pmvhaven.com/{}/{}_{}.mp4", self._id, self.title, self._id),
"pmvhaven".to_string(),
self.thumbnails[self.thumbnails.len()-1].clone().unwrap_or("".to_string()),
self.duration as u32,
@@ -249,7 +249,7 @@ impl PmvhavenProvider {
}
};
let proxy = Proxy::all("http://192.168.0.101:8080").unwrap();
let proxy = Proxy::all("http://192.168.0.103:8081").unwrap();
let client = Client::builder()
.cert_verification(false)
.emulation(Emulation::Firefox136)
@@ -327,7 +327,7 @@ impl PmvhavenProvider {
}
};
let proxy = Proxy::all("http://192.168.0.101:8080").unwrap();
let proxy = Proxy::all("http://192.168.0.103:8081").unwrap();
let client = Client::builder()
.cert_verification(false)
.emulation(Emulation::Firefox136)