Skip to content

Search with a specified url

Compare
Choose a tag to compare
@tdurieux tdurieux released this 30 Jul 13:32
· 103 commits to master since this release

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.