Leboncoin Scraper avatar
Leboncoin Scraper

Deprecated

Pricing

$30.00/month + usage

Go to Store
Leboncoin Scraper

Leboncoin Scraper

Deprecated

Developed by

Victor McDowell

Victor McDowell

Maintained by Community

Extremely fast Scraper that Extracts ads from leboncoin.fr

0.0 (0)

Pricing

$30.00/month + usage

1

Total users

41

Monthly users

1

Last modified

3 years ago

BS

Geolocation when running with start_urls

Closed

BasileDataimo opened this issue
3 years ago

Hello,

I'm assuming you prefer English than French ? Thanks for your work, this app is working nicely !

I have a question regarding the "startUrls" parameter I'm using to provide the search filters I want. I use this URL : https://www.leboncoin.fr/recherche?category=9&locations=r_12&owner_type=private&real_estate_type=1%2C2 The location r_12 corresponds to "Ile de France", but I get results from all France. Is there a better way to limit the search results to a single location ? The other parameters (category, owner_type, real_estate_type) seems to work as expected.

Also, I'd like to fetch some specific ads to see if they have been updated. Do you recommend using a list of startUrls with all ads URL or is there a better way ?

Best regards,

mcdowell avatar

Hello Basile, Thank you for your feedback. It appears that there was a bug that did not detect the region id properly. I have issued a fix to that deals with the bug. On the issue of specific ads, You can add them as an array of startUrls .e.g

[
{
"url": "https://www.leboncoin.fr/ventes_immobilieres/2225007492.htm"
},
{
"url": "https://www.leboncoin.fr/ventes_immobilieres/2204360697.htm"
},
{
"url": "https://www.leboncoin.fr/ventes_immobilieres/2224981829.htm"
},
{
"url": "https://www.leboncoin.fr/ventes_immobilieres/2224970228.htm"
},
{
"url": "https://www.leboncoin.fr/ventes_immobilieres/2223814998.htm"
},
{
"url": "https://www.leboncoin.fr/ventes_immobilieres/2224522779.htm"
},
{
"url": "https://www.leboncoin.fr/ventes_immobilieres/2224838163.htm"
}
]

Feel free to get in touch in case you have any other question