freshporno
This commit is contained in:
@@ -23,6 +23,8 @@ pub mod xxthots;
|
||||
pub mod sxyprn;
|
||||
pub mod porn00;
|
||||
// pub mod noodlemagazine;
|
||||
pub mod freshporno;
|
||||
|
||||
|
||||
pub trait Provider {
|
||||
async fn get_videos(
|
||||
@@ -58,6 +60,7 @@ pub enum AnyProvider {
|
||||
Sxyprn(crate::providers::sxyprn::SxyprnProvider),
|
||||
Porn00(crate::providers::porn00::Porn00Provider),
|
||||
// Noodlemagazine(crate::providers::noodlemagazine::NoodlemagazineProvider),
|
||||
Freshporno(crate::providers::freshporno::FreshpornoProvider),
|
||||
}
|
||||
|
||||
impl Provider for AnyProvider {
|
||||
@@ -160,6 +163,10 @@ impl Provider for AnyProvider {
|
||||
// p.get_videos(cache, pool, sort, query, page, per_page, options,)
|
||||
// .await
|
||||
// }
|
||||
AnyProvider::Freshporno(p) => {
|
||||
p.get_videos(cache, pool, sort, query, page, per_page, options,)
|
||||
.await
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user