With this bot, you can track shippable boxes from TooGoodToGo directly on Telegram. It's useful for receiving notifications about price changes and when items are back in stock.
- Docker
-
Clone the repository:
git clone <repository-url> cd <repository-folder>
-
Create a .env file in root and paste this:
USER_AGENT="TooGoodToGo/24.8.11 (29805) (iPhone/Unknown; iOS 17.5.1; Scale/3.00/iOS)"
DATADOME_COOKIE= # (Leave this empty at first; after the first launch, complete the captcha and add the extracted datadome here)
TELEGRAM_BOT_TOKEN=YOURTELEGRAMBOTTOKEN
TELEGRAM_API_ID=YOURTELEGRAMAPIID
TELEGRAM_API_HASH=YOURTELEGRAMAPIHASH
TELEGRAM_CHAT_IDS=-100123456,-10012344555 # Separate multiple chat IDs with commas
REFRESH_INTERVAL=300 # Refresh interval in seconds
- Launch for the first time using docker:
docker-compose build && docker-compose up
- After the first launch, you will receive a geocaptcha url, copy-paste in a browser, open Network tab, complete the captcha and extract from "check" endpoint the datadome token.
- Set the datadome in the env file.
- Launch the docker command again to start the bot definitively.
Contributions are welcome! Fork the repository and submit a pull request.
Feel free to open an issue here on GitHub to keep in touch.