archivebate work and pornxp returned
This commit is contained in:
1067
src/providers/archivebate.rs
Normal file
1067
src/providers/archivebate.rs
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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,
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user