All good
Some checks failed
CI / Check (push) Has been cancelled
Build and publish Docker image / build-and-push (push) Has been cancelled

This commit is contained in:
Andras Schmelczer 2026-05-18 21:20:10 +01:00
parent 6ea544a0f6
commit 6cc7288126
45 changed files with 929 additions and 1043 deletions

View file

@ -20,11 +20,6 @@ TYPEAHEAD_URL = "https://los.rightmove.co.uk/typeahead"
SEARCH_URL = "https://www.rightmove.co.uk/api/property-search/listing/search"
RIGHTMOVE_BASE = "https://www.rightmove.co.uk"
# home.co.uk
HOMECOUK_BASE = "https://home.co.uk"
HOMECOUK_API_BASE = f"{HOMECOUK_BASE}/api"
HOMECOUK_PER_PAGE = 30 # max supported by the API
# Zoopla
ZOOPLA_BASE = "https://www.zoopla.co.uk"
@ -108,13 +103,13 @@ PROPERTY_TYPE_MAP = {
"House Boat": "Other",
"Barn": "Other",
"Serviced Apartments": "Other",
# Space-separated variants (from home.co.uk underscore/hyphen normalization)
# Space-separated variants from legacy provider normalization.
"Semi Detached": "Semi-Detached",
"Semi Detached Bungalow": "Semi-Detached",
"End Of Terrace": "Terraced",
"End Terrace": "Terraced",
"Block Of Apartments": "Other",
# Lowercase variants (from home.co.uk / Rightmove APIs)
# Lowercase variants from listing APIs.
"house": "Detached",
"bungalow": "Other",
"townhouse": "Terraced",