Tired of being notified too late about new listings of your favourite things?
Use tuttify.py to scrape tutti.ch for new listings and alert you via Telegram.
- Clone this repo or download tuttify.py.
- Edit lines 18 and 19 in tuttify.py to include your name and email address, if you want. This is good practice in case someone over at tutti.ch wants to contact you.
- Install telegram-send and run
telegram-send --configureto set up your personal Bot. - Install beautifulsoup.
Simple run
python3 tuttify.py sofa
python3 tuttify.py "raspberry pi 4"To run in background
nohup python3 -u tuttify.py sofa &The first run for each unique query will build a dictionary of existing listings and save it to a JSON file. It also sends a message for each listing. To avoid cluttering of your Telegram conversation, use the --silent flag first. Later, re-run without the flag to only be notified about new listings.
python3 tuttify.py sofa --silentTo only show listings for free
python3 tuttify.py sofa -fTo only search a specific canton, use --canton. Use -n to also include neighboring cantons.
python3 tuttify.py sofa --canton graubuenden -nTo define a price range, use --maxprice and/or --minprice
python3 tuttify.py sofa --minprice 10 --maxprice 150To only show ads from private sellers, use --companyad false
python3 tuttify.py sofa --companyad false