warcificator: seguir limpiando

This commit is contained in:
Cat /dev/Nulo 2024-01-08 11:57:08 -03:00
parent 1abd98724d
commit 78878d8b7e

View file

@ -1,11 +1,9 @@
use async_channel::{Receiver, Sender}; use async_channel::{Receiver, Sender};
use rusqlite::Connection; use rusqlite::Connection;
use serde::de::value;
use std::{ use std::{
borrow::Cow, borrow::Cow,
env::{self, args}, env::{self, args},
fs, fs,
ops::Deref,
time::{SystemTime, UNIX_EPOCH}, time::{SystemTime, UNIX_EPOCH},
}; };
use tl::VDom; use tl::VDom;
@ -239,14 +237,14 @@ fn parse_carrefour(url: String, dom: &tl::VDom) -> Result<PrecioPoint, FetchErro
}; };
Ok(PrecioPoint { Ok(PrecioPoint {
ean: ean, ean,
fetched_at: now_sec(), fetched_at: now_sec(),
in_stock: in_stock, in_stock,
name: None, name: None,
image_url: None, image_url: None,
parser_version: 5, parser_version: 5,
precio_centavos: precio_centavos, precio_centavos,
url: url, url,
}) })
} }