fixing immonet provider, upgrading dependencies

This commit is contained in:
Christian Kellner
2019-06-10 13:26:05 +02:00
parent e0969225f7
commit f429221b2e
3 changed files with 92 additions and 634 deletions

View File

@@ -7,8 +7,9 @@ function normalize(o) {
const size = o.size != null ? o.size.replace('Wohnfläche ', '') : 'N/A m²';
const price = o.price.replace('Kaufpreis ', '');
const address = o.address.split(' • ')[1];
const title = o.title || 'No title available';
return Object.assign(o, {id, address, price, size});
return Object.assign(o, {id, address, price, size, title});
}
function applyBlacklist(o) {