fix-sqlite3

This commit is contained in:
Tour
2025-12-08 23:27:52 +01:00
parent 207916c1fe
commit 999c5609b6

View File

@@ -254,10 +254,10 @@ class TroostwijkScraper:
# Fetch all API data concurrently (or use cache if HTML was cached)
lot_id = page_data.get('lot_id')
auction_id = page_data.get('auction_id')
import sqlite3
if from_cache:
# Check if we have cached API data in database
import sqlite3
conn = sqlite3.connect(self.cache.db_path)
cursor = conn.cursor()
cursor.execute("""