bug prevention with video.url for Hottub38
This commit is contained in:
@@ -450,7 +450,7 @@ impl HentaihavenProvider {
|
||||
}
|
||||
|
||||
let video_item =
|
||||
VideoItem::new(id, title, formats.last().unwrap().clone().url, "hentaihaven".into(), thumb, 0)
|
||||
VideoItem::new(id, title, video_url.clone(), "hentaihaven".into(), thumb, 0)
|
||||
.formats(formats)
|
||||
.tags(tags)
|
||||
.views(views)
|
||||
|
||||
@@ -320,7 +320,7 @@ impl JavtifulProvider {
|
||||
let video_item = VideoItem::new(
|
||||
id,
|
||||
title,
|
||||
formats.first().map(|f| f.url.clone()).unwrap_or_default(),
|
||||
video_url,
|
||||
"javtiful".into(),
|
||||
thumb,
|
||||
duration,
|
||||
|
||||
Reference in New Issue
Block a user