has issues

This commit is contained in:
Andras Schmelczer 2026-05-25 13:20:17 +01:00
parent 2e112d7398
commit c645b0f1d4
96 changed files with 2147083 additions and 5787 deletions

View file

@ -8,7 +8,7 @@ from pathlib import Path
from constants import DATA_DIR, REPO_DIR
SOURCE_CHOICES = ("rightmove", "zoopla", "all")
SOURCE_CHOICES = ("rightmove", "onthemarket", "zoopla", "all")
TEST_MAX_PROPERTIES_PER_SOURCE = 100
TEST_OUTCODES = (
"E1",
@ -49,7 +49,7 @@ def parse_args() -> argparse.Namespace:
"--source",
choices=SOURCE_CHOICES,
default="all",
help="Portal to scrape. 'all' runs Rightmove and Zoopla.",
help="Portal to scrape. 'all' runs Rightmove, OnTheMarket, and Zoopla.",
)
parser.add_argument(
"--output-dir",
@ -91,7 +91,7 @@ def configure_logging() -> None:
def selected_sources(source: str) -> list[str]:
if source == "all":
return ["rightmove", "zoopla"]
return ["rightmove", "onthemarket", "zoopla"]
return [source]