1
0
Fork 0
mirror of https://gitlab.com/news-flash/article_scraper.git synced 2025-07-07 16:15:32 +02:00
This commit is contained in:
Jan Lukas Gernert 2023-06-21 23:48:09 +02:00
parent e0ccd7e0b3
commit 582834cdf1
6 changed files with 17 additions and 16 deletions

View file

@ -119,12 +119,7 @@ async fn extract_ftr(
};
let full_text_parser = FullTextParser::new(None).await;
let article = match full_text_parser.parse_offline(
vec![html],
config.as_ref(),
&FtrConfigEntry::default(),
base_url,
) {
let article = match full_text_parser.parse_offline(vec![html], config.as_ref(), base_url) {
Ok(res) => res,
Err(err) => {
log::error!("Failed to extract content with ftr: {err}");