pub struct HtmlParser { /* private fields */ }Expand description
HTML parser for extracting channel data from web pages
Implementations§
Source§impl HtmlParser
impl HtmlParser
Sourcepub fn new() -> Result<Self, FetchError>
pub fn new() -> Result<Self, FetchError>
Create a new HTML parser with pre-compiled regex patterns
Sourcepub fn parse_channel_from_html(&self, html: &str) -> FetchResult<ChannelInfo>
pub fn parse_channel_from_html(&self, html: &str) -> FetchResult<ChannelInfo>
Parse channel information from HTML content
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HtmlParser
impl RefUnwindSafe for HtmlParser
impl Send for HtmlParser
impl Sync for HtmlParser
impl Unpin for HtmlParser
impl UnwindSafe for HtmlParser
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more