implement persist_images_selector, minimize codebase by using bail, change image table structure to use sha256 hash as the unique image identity

This commit is contained in:
yggverse 2026-01-10 14:38:01 +02:00
parent bc61b5c09c
commit ec0cca64f3
7 changed files with 97 additions and 90 deletions

View file

@ -27,6 +27,9 @@ pub struct Channel {
/// Scrape description by CSS selector
/// * None to ignore
pub content_description_selector: Option<Selector>,
/// Preload content images locally if `Some`
/// * currently stored in the database
pub persist_images_selector: Option<Selector>,
}
#[derive(Debug, Deserialize)]