add erothots

This commit is contained in:
Simon
2025-06-19 11:12:39 +00:00
parent f8fe0aa1ec
commit 6405cbb269
5 changed files with 352 additions and 13 deletions

View File

@@ -5,6 +5,7 @@ use ntex::web;
use ntex::web::HttpRequest;
use tokio::{task, time};
use crate::providers::erothots::ErothotsProvider;
use crate::providers::hanime::HanimeProvider;
use crate::providers::perverzija::PerverzijaProvider;
use crate::providers::spankbang::SpankbangProvider;
@@ -247,10 +248,20 @@ async fn status(req: HttpRequest) -> Result<impl web::Responder, web::Error> {
}
],
nsfw: true,
});status.add_channel(Channel {
id: "erothots".to_string(),
name: "Erothots".to_string(),
description: "Free Onlyfans Content".to_string(),
premium: false,
favicon: "https://www.google.com/s2/favicons?sz=64&domain=erothots.co".to_string(),
status: "active".to_string(),
categories: vec![],
options: vec![],
nsfw: true,
});
status.add_channel(Channel {
id: "spankbang".to_string(),
name: "SpankBang".to_string(),
name: "Work in Progress - SpankBang".to_string(),
description: "Popular Porn Videos - SpankBang".to_string(),
premium: false,
favicon: "https://www.google.com/s2/favicons?sz=64&domain=spankbang.com".to_string(),
@@ -367,6 +378,7 @@ pub fn get_provider(channel: &str) -> Option<AnyProvider> {
"perverzija" => Some(AnyProvider::Perverzija(PerverzijaProvider::new())),
"hanime" => Some(AnyProvider::Hanime(HanimeProvider::new())),
"spankbang" => Some(AnyProvider::Spankbang(SpankbangProvider::new())),
"erothots" => Some(AnyProvider::Erothots(ErothotsProvider::new())), // ErothotsProvider is not implemented yet
_ => Some(AnyProvider::Perverzija(PerverzijaProvider::new())),
}
}