This commit is contained in:
Simon
2025-10-01 19:28:41 +00:00
parent 29aa6fc007
commit 37d11034d8
3 changed files with 241 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ pub mod porn00;
pub mod freshporno;
pub mod youjizz;
pub mod paradisehill;
pub mod pornzog;
pub trait Provider {
@@ -65,6 +66,7 @@ pub enum AnyProvider {
Freshporno(crate::providers::freshporno::FreshpornoProvider),
Youjizz(crate::providers::youjizz::YoujizzProvider),
Paradisehill(crate::providers::paradisehill::ParadisehillProvider),
Pornzog(crate::providers::pornzog::PornzogProvider),
}
impl Provider for AnyProvider {
@@ -179,6 +181,10 @@ impl Provider for AnyProvider {
p.get_videos(cache, pool, sort, query, page, per_page, options,)
.await
}
AnyProvider::Pornzog(p) => {
p.get_videos(cache, pool, sort, query, page, per_page, options,)
.await
}
}
}
}