dealfront_enrichment.py aktualisiert

This commit is contained in:
2025-07-08 14:35:13 +00:00
parent 18732c9d78
commit 925ec4b355

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 = []