latest and greatest dates

This commit is contained in:
Jun-te Kim 2025-03-19 14:37:49 +00:00
parent 1940483acc
commit 5a97b05c47
2 changed files with 3 additions and 3 deletions

View file

@ -713,7 +713,7 @@ class QuidosSiteNotesExtractor(SiteNotesExtractor):
control_type=dict_.get("control_type", ""),
flue_type=dict_.get("flue_type",""),
fan_assisted_flue=True if dict_.get("fan_assisted_flue", "NO").upper() == "YES" else False,
heat_emitter_type=dict_.get("heat_emitter_type", ""),
heat_emitter_type=dict_.get("heat_emitter_type", "") if dict_.get("heat_emitter_type") is not None else "",
electricity_meter_type=dict_.get("electricity_meter_type", ""),
mains_gas_available=True if dict_.get("mains_gas_available", "NO").upper() == "YES" else False,
)
@ -754,7 +754,7 @@ class QuidosSiteNotesExtractor(SiteNotesExtractor):
control_type=dict_.get("control_type", ""),
flue_type=dict_.get("flue_type",""),
fan_assisted_flue=True if dict_.get("fan_assisted_flue", "NO").upper() == "YES" else False,
heat_emitter_type=dict_.get("heat_emitter_type", ""),
heat_emitter_type=dict_.get("heat_emitter_type", "") if dict_.get("heat_emitter_type") is not None else "",
electricity_meter_type=dict_.get("electricity_meter_type", ""),
mains_gas_available=True if dict_.get("mains_gas_available", "NO").upper() == "YES" else False,
)

View file

@ -15,7 +15,7 @@ def main():
"Price": []
}
south_coast_scraper = SharePointScraper(SharePointInstaller.SOUTH_COAST_INSULATION, development=True)
south_coast_scraper = SharePointScraper(SharePointInstaller.SOUTH_COAST_INSULATION)
file_paths = south_coast_scraper.download_file_for_each_address()
list_of_surveys = []