Search with a specified url
It's now possible to search on leboncoin with a specific url like this:
var url = 'http://www.leboncoin.fr/ventes_immobilieres/offres/...';
new leboncoin.Search().run(url).then(function (data) {
console.log(data);
});
If url
is null, the library will use the previous API.