This commit is contained in:
Simon
2025-10-23 18:25:28 +00:00
parent d864bc8a4e
commit 629000ba37
5 changed files with 572 additions and 2 deletions

View File

@@ -36,6 +36,7 @@ pub mod paradisehill;
pub mod pornzog;
pub mod youjizz;
pub mod beeg;
pub mod tnaflix;
// convenient alias
pub type DynProvider = Arc<dyn Provider>;
@@ -44,6 +45,7 @@ pub static ALL_PROVIDERS: Lazy<HashMap<&'static str, DynProvider>> = Lazy::new(|
let mut m = HashMap::default();
m.insert("omgxxx", Arc::new(omgxxx::OmgxxxProvider::new()) as DynProvider);
m.insert("beeg", Arc::new(beeg::BeegProvider::new()) as DynProvider);
m.insert("tnaflix", Arc::new(tnaflix::TnaflixProvider::new()) as DynProvider);
// add more here as you migrate them
m
});