amcDealsWatcher
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
This automation runs daily to check for new streaming service subscription deals and emails them to you.
- AMC+ 🎬 - Movie and TV streaming
- Disney+ 🏰 - Disney, Marvel, Star Wars, and more
- Daily Check: Runs automatically every day via cron trigger
- Multiple Sources: Checks various deal sites for each service including:
- Official Websites (AMC+, Disney+)
- SlickDeals
- RetailMeNot
- Groupon
- New Deal Detection: Compares current deals with previously found deals to identify new ones
- Email Notifications: Sends formatted emails with deal details grouped by service when new deals are found
- Error Handling: Sends error notifications if the automation fails
- ✅ Automated daily checking
- ✅ Multiple streaming service monitoring (AMC+, Disney+)
- ✅ Multiple deal source monitoring per service
- ✅ Duplicate deal filtering
- ✅ Rich HTML email formatting with deals grouped by service
- ✅ Error notifications
- ✅ Deal history storage using Val Town blob storage
- ✅ Easy to add more streaming services
amc_deals_checker.ts- Main automation script (cron trigger) - Set to run at 2:35 PM dailytest_amc_deals.ts- Test endpoint for manual testing (HTTP trigger)
The automation is already configured to:
- Run daily at 2:35 PM (14:35) - You need to set this schedule in the Val Town web UI
- Email deals to your Val Town account email (Val Town free tier limitation)
- Store deal history in blob storage under "streaming_deals" key
- Go to your Val Town dashboard
- Find the
amc_deals_checker.tsval - Set the cron schedule to:
35 14 * * *(runs at 2:35 PM daily)
To add another streaming service, simply add a new entry to the STREAMING_SERVICES array in amc_deals_checker.ts:
{
name: "ServiceName",
searchTerms: ["ServiceName", "Service Name", "alternate names"],
officialUrl: "https://www.service.com/",
retailMeNotSlug: "service.com",
emoji: "📺"
}
To modify the automation:
- Add more services: Add new entries to the
STREAMING_SERVICESconfiguration array - Change email address: Update the email addresses in the script
- Add more sources: Add new check functions to the service sources array
- Adjust frequency: Modify the cron schedule in the Val Town web UI
- Filter deals: Add price thresholds or keyword filters
You can manually trigger the automation to test it by running the val directly.
The automation uses Val Town's blob storage to keep track of previously found deals under the key "streaming_deals".