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()