server: slurp config for prusa blog and squelch some info logging

This commit is contained in:
2024-09-12 09:27:57 -07:00
parent f5c90d8770
commit d5a3324837
2 changed files with 4 additions and 4 deletions

View File

@@ -179,6 +179,9 @@ pub async fn thread(pool: &PgPool, thread_id: String) -> Result<Thread, ServerEr
"atmeta.com".to_string() => vec![
Selector::parse("div.entry-content").unwrap(),
],
"blog.prusa3d.com".to_string() => vec![
Selector::parse("article.content").unwrap(),
],
"blog.cloudflare.com".to_string() => vec![
Selector::parse(".author-lists").unwrap(),
Selector::parse(".post-full-content").unwrap()