diff --git a/src/scraper.py b/src/scraper.py index cdca099..85b591e 100644 --- a/src/scraper.py +++ b/src/scraper.py @@ -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("""