improve OLX ad status detection
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user