[−][src]Struct extrablatt::extract::DefaultExtractor
An Extractor that only uses the default implementation in the Extractor
trait.
Trait Implementations
impl Debug for DefaultExtractor
[src]
impl Default for DefaultExtractor
[src]
fn default() -> DefaultExtractor
[src]
impl Extractor for DefaultExtractor
[src]
fn title<'a>(&self, doc: &'a Document) -> Option<Cow<'a, str>>
[src]
fn authors<'a>(&self, doc: &'a Document) -> Vec<Cow<'a, str>>
[src]
fn publishing_date(
&self,
doc: &Document,
base_url: Option<&Url>
) -> Option<ArticleDate>
[src]
&self,
doc: &Document,
base_url: Option<&Url>
) -> Option<ArticleDate>
fn favicon(&self, doc: &Document, base_url: &Url) -> Option<Url>
[src]
fn base_url(&self, doc: &Document) -> Option<Url>
[src]
fn meta_language(&self, doc: &Document) -> Option<Language>
[src]
fn meta_data<'a>(&self, doc: &'a Document) -> Vec<MetaNode<'a>>
[src]
fn meta_content<'a, 'b>(
&self,
doc: &'a Document,
attr: Attr<&'b str, &'b str>
) -> Option<Cow<'a, str>>
[src]
&self,
doc: &'a Document,
attr: Attr<&'b str, &'b str>
) -> Option<Cow<'a, str>>
fn meta_thumbnail_url(
&self,
doc: &Document,
base_url: Option<&Url>
) -> Option<Url>
[src]
&self,
doc: &Document,
base_url: Option<&Url>
) -> Option<Url>
fn meta_img_url(&self, doc: &Document, base_url: Option<&Url>) -> Option<Url>
[src]
fn meta_type<'a>(&self, doc: &'a Document) -> Option<Cow<'a, str>>
[src]
fn meta_site_name<'a>(&self, doc: &'a Document) -> Option<Cow<'a, str>>
[src]
fn meta_description<'a>(&self, doc: &'a Document) -> Option<Cow<'a, str>>
[src]
fn meta_keywords<'a>(&self, doc: &'a Document) -> Vec<Cow<'a, str>>
[src]
fn text<'a>(&self, doc: &'a Document, lang: Language) -> Option<Cow<'a, str>>
[src]
fn text_with_cleaner<'a, T: DocumentCleaner>(
&self,
doc: &'a Document,
lang: Language,
cleaner: T
) -> Option<Cow<'a, str>>
[src]
&self,
doc: &'a Document,
lang: Language,
cleaner: T
) -> Option<Cow<'a, str>>
fn article_node<'a>(
&self,
doc: &'a Document,
lang: Language
) -> Option<ArticleTextNode<'a>>
[src]
&self,
doc: &'a Document,
lang: Language
) -> Option<ArticleTextNode<'a>>
fn all_urls<'a>(&self, doc: &'a Document) -> Vec<Cow<'a, str>>
[src]
fn article_urls(
&self,
doc: &Document,
base_url: Option<&Url>
) -> Vec<ArticleUrl>
[src]
&self,
doc: &Document,
base_url: Option<&Url>
) -> Vec<ArticleUrl>
fn image_urls(&self, doc: &Document, base_url: Option<&Url>) -> Vec<Url>
[src]
fn is_article(article: &ArticleUrl, base_url: &Url) -> bool
[src]
fn is_category(category: &Category, base_url: &Url) -> bool
[src]
fn categories(&self, doc: &Document, base_url: &Url) -> Vec<Category>
[src]
fn article_content<'a>(
&self,
doc: &'a Document,
base_url: Option<&Url>,
lang: Option<Language>
) -> ArticleContent<'a>
[src]
&self,
doc: &'a Document,
base_url: Option<&Url>,
lang: Option<Language>
) -> ArticleContent<'a>
fn canonical_link(&self, doc: &Document) -> Option<Url>
[src]
fn videos<'a>(
&self,
doc: &'a Document,
lang: Option<Language>
) -> Vec<VideoNode<'a>>
[src]
&self,
doc: &'a Document,
lang: Option<Language>
) -> Vec<VideoNode<'a>>
Auto Trait Implementations
impl RefUnwindSafe for DefaultExtractor
impl Send for DefaultExtractor
impl Sync for DefaultExtractor
impl Unpin for DefaultExtractor
impl UnwindSafe for DefaultExtractor
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,