No description
  • Python 36.5%
  • TypeScript 34.3%
  • Shell 25.4%
  • Dockerfile 3.8%
Find a file
2026-02-09 14:30:30 +01:00
classifier initial commit 2026-02-09 14:30:30 +01:00
.gitignore initial commit 2026-02-09 14:30:30 +01:00
.last_hash initial commit 2026-02-09 14:30:30 +01:00
Dockerfile initial commit 2026-02-09 14:30:30 +01:00
notify.sh initial commit 2026-02-09 14:30:30 +01:00
parse.ts initial commit 2026-02-09 14:30:30 +01:00
README.md initial commit 2026-02-09 14:30:30 +01:00
scrape.sh initial commit 2026-02-09 14:30:30 +01:00
scrape_and_notify.sh initial commit 2026-02-09 14:30:30 +01:00
USAGE.md initial commit 2026-02-09 14:30:30 +01:00

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