freshporno

This commit is contained in:
Simon
2025-09-02 09:58:19 +00:00
parent 9caec79427
commit c3f994ccbb
5 changed files with 244 additions and 1 deletions

View File

@@ -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
}
}
}
}