aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 093f31b1ee2c1d89b1bcd9db4e4c9de7ff24075a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
leboncoin-listener
==================

leboncoin-listener listen for changes at a given URL on the website leboncoin.

Usage
-----

```
cabal sandbox init
cabal install --only-dependencies
cabal build
./dist/build/leboncoin-listener/leboncoin-listener
```

Configuration
-------------

Provide the url you want to listen to and the mail addresses that will be
notified in the configuration file (conf):

```
# The url field is required
url = http://www.leboncoin.fr/locations/offres/ile_de_france/?f=a&th=1

# The mailTo field is an optional list
# mailTo = jean.dupont@mail.fr, john.smith@mail.com
```

Email
-----

leboncoin-listener uses the sendmail command under the hood.