- Find posts related to sales (ventes/offres) on leboncoin.fr and relay them to email address(es)
- Email and target URL configuration is done in
config.py - Search parameters are passed as command line arguments (
python lbc.py --help) - Only tested on real estate sales (ventes immobilieres) but it should be easily extendable to other sections of the site directly from the config file
- Feel free to test and confirm to above
- Google how to setup a "cronjob" if interested in running the script on a specific schedule (e.g every day, at the 30th min of each hour)
- ~ alpha (docstrings are still missing, but I'll probably get around to it)
- Any contribution is welcome
$ git clone <this project dir>$ pip install -r requirements.txt --user- Edit
config.pywith email information $ python lbc.py --helpfor help about search parameters
python lbc.py --region rhone_alpes --location 69001 69002 69003 --minprice 300000 --maxprice 500000 --maxmail 10 --search appartement maison