This commit is contained in:
Simon
2025-10-03 17:25:47 +00:00
parent 37d11034d8
commit 20d069f01f
5 changed files with 302 additions and 1 deletions

View File

@@ -27,6 +27,7 @@ pub mod freshporno;
pub mod youjizz;
pub mod paradisehill;
pub mod pornzog;
pub mod omgxxx;
pub trait Provider {
@@ -67,6 +68,7 @@ pub enum AnyProvider {
Youjizz(crate::providers::youjizz::YoujizzProvider),
Paradisehill(crate::providers::paradisehill::ParadisehillProvider),
Pornzog(crate::providers::pornzog::PornzogProvider),
Omgxxx(crate::providers::omgxxx::OmgxxxProvider),
}
impl Provider for AnyProvider {
@@ -185,6 +187,10 @@ impl Provider for AnyProvider {
p.get_videos(cache, pool, sort, query, page, per_page, options,)
.await
}
AnyProvider::Omgxxx(p) => {
p.get_videos(cache, pool, sort, query, page, per_page, options,)
.await
}
}
}
}