testing
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
use crate::schema::videos::url;
|
use crate::schema::videos::url;
|
||||||
use crate::util::parse_abbreviated_number;
|
use crate::util::parse_abbreviated_number;
|
||||||
use crate::DbPool;
|
use crate::{videos, DbPool};
|
||||||
use crate::providers::Provider;
|
use crate::providers::Provider;
|
||||||
use crate::util::cache::VideoCache;
|
use crate::util::cache::VideoCache;
|
||||||
use crate::util::flaresolverr::{FlareSolverrRequest, Flaresolverr};
|
use crate::util::flaresolverr::{FlareSolverrRequest, Flaresolverr};
|
||||||
@@ -246,12 +246,13 @@ impl HentaihavenProvider {
|
|||||||
items.push(VideoItem::new(
|
items.push(VideoItem::new(
|
||||||
id,
|
id,
|
||||||
title,
|
title,
|
||||||
video_url,
|
video_url.clone(),
|
||||||
"hentaihaven".to_string(),
|
"hentaihaven".to_string(),
|
||||||
thumb,
|
thumb,
|
||||||
0, // duration is not available
|
0, // duration is not available
|
||||||
)
|
)
|
||||||
// .aspect_ratio(0.73)
|
.formats(vec![videos::VideoFormat::new(video_url.clone(), "1080".to_string(), "m3u8".to_string())])
|
||||||
|
.aspect_ratio(0.73)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user