blob: ca0390dc3fabe870ec973c4738179a019f35acc5 (
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
34
35
36
37
38
39
40
|
# 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 come up.
## Getting started
1. Install [nix](https://nixos.org/nix/),
2. launch `make start`,
3. later, stop the project with `make stop`.
## Build executable
```bash
make build
```
## Run tests
```bash
make 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.
|