Automatically monitor your CamelCamelCamel RSS feed for Amazon price drops and get notified on Telegram.
https://camelcamelcamel.com/alerts/YOUR_UNIQUE_ID.xml)cron add \
--job '{
"name": "camelcamelcamel-monitor",
"schedule": "0 */12 * * *",
"task": "Monitor CamelCamelCamel price alerts",
"command": "python3 /path/to/scripts/fetch_rss.py https://camelcamelcamel.com/alerts/YOUR_UNIQUE_ID.xml"
}'
Important: Replace YOUR_UNIQUE_ID with your own feed ID from step 1. Each person needs their own feed URL!
The skill uses two components:
scripts/fetch_rss.pySee SETUP.md for:
The script maintains a cache at /tmp/camelcamelcamel/cache.json to track which alerts have been notified. This prevents duplicate notifications.
Clear the cache to re-test notifications:
rm /tmp/camelcamelcamel/cache.json
When a new price drop is detected, you'll receive a Telegram message like:
🛒 *Price Alert*
*PRODUCT NAME - $XX.XX (Down from $YY.YY)*
Current price: $XX.XX
Historical low: $ZZ.ZZ
Last checked: [timestamp]
View on Amazon: [link]
Adjust the cron schedule (6th parameter in the schedule field):
0 → every hour0 /4 → every 4 hours (default)0 /6 → every 6 hours0 0 * → dailyEdit scripts/notify.sh to customize the Telegram message layout and emoji.
/tmp/camelcamelcamel/cache.jsonIf you're not receiving notifications:
cron list```bash
python3 scripts/fetch_rss.py
```
```bash
rm /tmp/camelcamelcamel/cache.json
```
See SETUP.md for more details.
共 1 个版本