mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-02-13 13:58:46 +02:00
update
This commit is contained in:
parent
5c5c2967a3
commit
723eb6bdcc
@ -5,16 +5,16 @@ urlwatch
|
|||||||
|
|
||||||
```
|
```
|
||||||
cron: triggered every 15 minutes
|
cron: triggered every 15 minutes
|
||||||
-> make: generate urls.txt from urls.yml
|
-> make: generate urls.txt from urls.yml
|
||||||
-> urlwatch: fetch webpages
|
-> urlwatch: fetch webpages
|
||||||
-> hooks.py: extract info
|
-> hooks.py: extract info
|
||||||
-> email: send via smtp
|
-> email: send via smtp
|
||||||
-> (^_^)
|
-> (^_^)
|
||||||
```
|
```
|
||||||
|
|
||||||
## docker-compose.yml
|
## docker-compose.yml
|
||||||
|
|
||||||
```yaml
|
```
|
||||||
urlwatch:
|
urlwatch:
|
||||||
image: vimagick/urlwatch
|
image: vimagick/urlwatch
|
||||||
volumes:
|
volumes:
|
||||||
@ -48,7 +48,7 @@ setup:
|
|||||||
|
|
||||||
## urls.yml
|
## urls.yml
|
||||||
|
|
||||||
```yaml
|
```
|
||||||
python:
|
python:
|
||||||
url: https://www.python.org/downloads/
|
url: https://www.python.org/downloads/
|
||||||
exp: //div[@class="download-unknown"]/p[@class]/a[1]/text()
|
exp: //div[@class="download-unknown"]/p[@class]/a[1]/text()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user