Prostor VIP ads fixed.
This commit is contained in:
@@ -191,13 +191,7 @@ class ProstorCrawler {
|
|||||||
const { lat, lng, property_name, price, size, link, status } = realEstate;
|
const { lat, lng, property_name, price, size, link, status } = realEstate;
|
||||||
|
|
||||||
//Status information is given already in realestate list
|
//Status information is given already in realestate list
|
||||||
//For VIP Ads status ='' canot be used, but no VIP ads are crawled
|
const adStatus = ProstorCrawler.getStatusId(status);
|
||||||
//We will make "fake" vip ad for RE that have size=55
|
|
||||||
//It is weird because yesterday it said 'VIP ponuda' ???
|
|
||||||
const adStatus =
|
|
||||||
size === "55"
|
|
||||||
? ProstorCrawler.getStatusId("VIP ponuda")
|
|
||||||
: ProstorCrawler.getStatusId(status);
|
|
||||||
|
|
||||||
const url = `https://prostor.ba${link}`;
|
const url = `https://prostor.ba${link}`;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user