mirror of
https://gitlab.com/news-flash/article_scraper.git
synced 2025-07-07 16:15:32 +02:00
fixes
This commit is contained in:
parent
e0ccd7e0b3
commit
582834cdf1
6 changed files with 17 additions and 16 deletions
|
@ -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}");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue