omgxxx
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user