No description
- Python 36.5%
- TypeScript 34.3%
- Shell 25.4%
- Dockerfile 3.8%
| classifier | ||
| .gitignore | ||
| .last_hash | ||
| Dockerfile | ||
| notify.sh | ||
| parse.ts | ||
| README.md | ||
| scrape.sh | ||
| scrape_and_notify.sh | ||
| USAGE.md | ||
subito scraper
this project consists in scrape.sh, that just scrapes things from subito, see ./USAGE.md for details
TLDR
Puoi iscriverti a questi topic ntfy:
| URL | Telefono | RANGE |
|---|---|---|
https://ntfy.bida.im/get_cheap_pixel_7a |
Google Pixel 7A | < 101€ |
https://ntfy.bida.im/get_cheap_pixel_8a |
Google Pixel 8A | < 201€ |
per ricevere notifiche quando c'è almeno un telefono che soddisfa il range richiesto.
Questo è il comando che viene eseguito dietro le quinte ogni 30 minuti:
export NTFY_SERVER="https://ntfy.bida.im"
export NTFY_TOPIC="get_cheap_pixel_8a"
# aggiungo un mount su /tmp per avere il caching della risposta
# così da non continuare ad inviare notifiche se nulla è cambiato.
docker run git.lattuga.net/0d0acre/subito-scraper /app/scrape.sh \
'https://www.subito.it/annunci-italia/vendita/telefonia/?q=pixel+8a' 0 201 | python3 ./classifier/classifier.py | ./notify.sh