archivebate work and pornxp returned

This commit is contained in:
Simon
2026-04-14 16:58:04 +00:00
parent 765a21c110
commit fe5cf9a42f
6 changed files with 1091 additions and 5 deletions

1067
src/providers/archivebate.rs Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -8,8 +8,6 @@ use crate::videos::{ServerOptions, VideoItem};
use async_trait::async_trait;
use error_chain::error_chain;
use htmlentity::entity::{ICodedDataTrait, decode};
// use std::sync::{Arc, RwLock};
// use std::thread;
use std::vec;
error_chain! {
@@ -19,6 +17,12 @@ error_chain! {
}
}
pub const CHANNEL_METADATA: crate::providers::ProviderChannelMetadata =
crate::providers::ProviderChannelMetadata {
group_id: "mainstream-tube",
tags: &["tube", "mainstream"],
};
#[derive(Debug, Clone)]
pub struct PornxpProvider {
url: String,

View File

@@ -174,6 +174,7 @@ impl Requester {
#[cfg(any(
not(hottub_single_provider),
hottub_provider = "archivebate",
hottub_provider = "hypnotube",
hottub_provider = "vjav",
))]
@@ -381,6 +382,7 @@ impl Requester {
#[cfg(any(
not(hottub_single_provider),
hottub_provider = "archivebate",
hottub_provider = "hypnotube",
hottub_provider = "freeuseporn",
hottub_provider = "vjav",