Progress on filters
This commit is contained in:
@@ -63,10 +63,12 @@ export default class OlxCrawler {
|
||||
lng = matches[2];
|
||||
}
|
||||
|
||||
const parsedPrice = parsePrice(price);
|
||||
|
||||
const data = {
|
||||
url,
|
||||
title,
|
||||
price: parsePrice(price) || -1,
|
||||
price: isNaN(parsedPrice) || price,
|
||||
size: parseFloat(size),
|
||||
rooms: parseRooms(rooms),
|
||||
floor: parseInt(floor),
|
||||
|
||||
Reference in New Issue
Block a user