Add more real estate filters to crawler #72

Merged
bilal.catic merged 20 commits from add-more-real-estate-filters-to-crawler into master 2019-11-14 14:58:59 +01:00
Showing only changes of commit af42d2c448 - Show all commits

View File

@@ -576,7 +576,10 @@ class OlxCrawler {
locationLong = parseFloat(locationLatLngMatches[2]) || null;
}
if (title.indexOf("[PRODANO]") !== -1) {
if (
title.indexOf("[PRODANO]") !== -1 ||
title.indexOf("[ZAVRŠENO]") !== -1
) {
status = AD_STATUS.STATUS_SOLD;
}