fix non-deactivating error

This commit is contained in:
Aron Petau 2026-01-01 22:14:55 +01:00
parent df33dcd00c
commit c45c6992ae
8 changed files with 18 additions and 13 deletions

View file

@ -29,8 +29,7 @@ class DegewoHandler(BaseHandler):
logger.warning(f"[DEGEWO] Listing is down (404): {listing['link']}")
result["success"] = False
result["message"] = "Listing is no longer available (404). Application impossible. Will not retry."
result["permanent_fail"] = True
await page.close()
result["deactivated"] = True
return result
# Check for 'INSERAT DEAKTIVIERT' (deactivated listing)