Trait yuyu_core::Extractor[][src]

pub trait Extractor {
    fn url_tester(&self) -> RegexSet;
#[must_use] fn get_info<'life0, 'life1, 'async_trait>(
        &'life0 self,
        url: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Info>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

Required methods

fn url_tester(&self) -> RegexSet[src]

#[must_use]
fn get_info<'life0, 'life1, 'async_trait>(
    &'life0 self,
    url: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Info>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Implementors

impl Extractor for HentaiFoundry[src]

impl Extractor for Youtube[src]

Loading content...