aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 97520ced6b6ae2d73827dcc7952dbc5cf2ee2a87 (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
# Ad-listener

Ad-listener listen for changes at given URLs on:

- [leboncoin](https://www.leboncoin.fr/),
- [ouestFrance](https://www.ouestfrance-immo.com/),
- [seLoger](https://www.seloger.com/).

Then, it send a mail whenever a new ad comes up.

## Getting started

In `nix-shell`, run `cabal run ad-listener`.

## Tests

In a `nix-shell`, run `cabal test`

## Configuration

See [application.conf](application.conf).

## Email

`sendmail` command is used for notifications.

## Ideas

- add sqlite DB, to get back to previous state if shut down, it also permits to
  see what has already been seen.