1
0
Fork 0
mirror of https://gitlab.com/news-flash/article_scraper.git synced 2025-07-08 16:40:00 +02:00

start refactor & fingerprints

This commit is contained in:
Jan Lukas Gernert 2022-10-08 23:09:00 +02:00
parent 29df3aa698
commit 273ddd832c
16 changed files with 944 additions and 848 deletions

View file

@ -8,20 +8,6 @@ pub struct ScraperError {
#[derive(Copy, Clone, Eq, PartialEq, Debug, Fail)]
pub enum ScraperErrorKind {
#[fail(display = "libXml Error")]
Xml,
#[fail(display = "No content found")]
Scrape,
#[fail(display = "Url Error")]
Url,
#[fail(display = "Http request failed")]
Http,
#[fail(display = "Config Error")]
Config,
#[fail(display = "IO Error")]
IO,
#[fail(display = "Content-type suggest no html")]
ContentType,
#[fail(display = "Unknown Error")]
Unknown,
}