remove-field-scraped_at_timestamp
This commit is contained in:
@@ -270,8 +270,8 @@ class CacheManager:
|
|||||||
year_manufactured, condition_score, condition_description,
|
year_manufactured, condition_score, condition_description,
|
||||||
serial_number, manufacturer, damage_description,
|
serial_number, manufacturer, damage_description,
|
||||||
followers_count, estimated_min_price, estimated_max_price, lot_condition, appearance,
|
followers_count, estimated_min_price, estimated_max_price, lot_condition, appearance,
|
||||||
scraped_at, scraped_at_timestamp)
|
scraped_at)
|
||||||
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
||||||
""", (
|
""", (
|
||||||
lot_data['lot_id'],
|
lot_data['lot_id'],
|
||||||
lot_data.get('auction_id', ''),
|
lot_data.get('auction_id', ''),
|
||||||
@@ -306,8 +306,7 @@ class CacheManager:
|
|||||||
lot_data.get('estimated_max_price'),
|
lot_data.get('estimated_max_price'),
|
||||||
lot_data.get('lot_condition', ''),
|
lot_data.get('lot_condition', ''),
|
||||||
lot_data.get('appearance', ''),
|
lot_data.get('appearance', ''),
|
||||||
lot_data['scraped_at'],
|
lot_data['scraped_at']
|
||||||
int(time.time())
|
|
||||||
))
|
))
|
||||||
conn.commit()
|
conn.commit()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user