mirror of
https://github.com/YGGverse/rssto.git
synced 2026-04-01 09:35:28 +00:00
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:
parent
bc61b5c09c
commit
ec0cca64f3
7 changed files with 97 additions and 90 deletions
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue