hotfix
This commit is contained in:
@@ -190,7 +190,7 @@ 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://storage.pmvhaven.com/{}/{}_{}.mp4", self._id, self.title, 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,
|
||||||
@@ -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()
|
let client = Client::builder()
|
||||||
.cert_verification(false)
|
.cert_verification(false)
|
||||||
.emulation(Emulation::Firefox136)
|
.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()
|
let client = Client::builder()
|
||||||
.cert_verification(false)
|
.cert_verification(false)
|
||||||
.emulation(Emulation::Firefox136)
|
.emulation(Emulation::Firefox136)
|
||||||
|
|||||||
Reference in New Issue
Block a user