From d67cb15748fed7a6fd9db9ab04ac94bca78bed2e Mon Sep 17 00:00:00 2001 From: Tour Date: Sun, 7 Dec 2025 16:57:54 +0100 Subject: [PATCH] remove-field-scraped_at_timestamp --- src/cache.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/cache.py b/src/cache.py index 8d182a0..f9afbec 100644 --- a/src/cache.py +++ b/src/cache.py @@ -270,8 +270,8 @@ class CacheManager: year_manufactured, condition_score, condition_description, serial_number, manufacturer, damage_description, followers_count, estimated_min_price, estimated_max_price, lot_condition, appearance, - scraped_at, scraped_at_timestamp) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) + scraped_at) + VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) """, ( lot_data['lot_id'], lot_data.get('auction_id', ''), @@ -306,8 +306,7 @@ class CacheManager: lot_data.get('estimated_max_price'), lot_data.get('lot_condition', ''), lot_data.get('appearance', ''), - lot_data['scraped_at'], - int(time.time()) + lot_data['scraped_at'] )) conn.commit()