web-parser 0.1.3

This website parser library allows asynchronous search, fetching and extracting data from web-pages in multiple formats.
Documentation
use macron::{ Display, Error, From };

/// The std result
pub type StdResult<T, E> = std::result::Result<T, E>;
/// The result alias
pub type Result<T> = StdResult<T, Box<dyn std::error::Error + Send + Sync + 'static>>;

/// The application error
#[derive(Debug, Display, Error, From)]
#[from(scraper::error::SelectorErrorKind<'static>, "Self::Scraper(value.to_string())")]
pub enum Error {
    #[from]
    String(String),

    Scraper(String),

    #[display = "Failed to get a search results. Report about this problem to me: https://t.me/fuderis"]
    FailedGetResults,

    #[display = "Chromedriver session is broken!"]
    SessionBroken
}