dealfront_enrichment.py aktualisiert

This commit is contained in:
2025-07-08 14:35:13 +00:00
parent f2e953ff4b
commit 4c3e437b7c

View File

@@ -114,11 +114,13 @@ class DealfrontScraper:
return False
def extract_current_page_results(self):
# Erst auf das erste Daten-Element warten, dann Puffer-Pause
first_row_locator = (By.CSS_SELECTOR, ".sticky-column a.t-highlight-text")
WebDriverWait(driver, 30).until(
EC.visibility_of_element_located(first_row_locator)
self.wait.until(
EC.visibility_of_element_located(first_row_locator)
)
time.sleep(2)
try:
logger.info("Extrahiere Ergebnisse von der aktuellen Seite...")
results = []