Challenge
- Time-limited credit offers get announced, and by the time you notice, the claim deadline has passed
- Announcements are scattered across the help center, changelogs, blogs, social media and news, and nobody can check all of them every day
Approach
- A scheduled job visits six places twice a day: the help-center sitemap, the CLI changelog, the docs weekly digest, official news, a news-search RSS feed and the official social accounts
- Official sources use strict keywords and news uses looser ones; items are checked against a seen-list, and only first-time hits trigger a notification
Outcome
- Once an offer appears on a watched source, it is noticed within half a day
- When a terms page is updated it alerts again, so changed conditions are not missed either
It started when the author nearly missed a time-limited credit giveaway. Announcements appear first on official social accounts and spread to the help center and tech news within days. The author traced that path and narrowed the places worth watching to six.
The script is a single Python file with no extra libraries, started each morning and evening by the Mac's scheduler. The first run only builds the record without notifying; from then on, only new items are reported.
Key points
Using different keyword strictness per source. Official sources match only clear words such as credit, promotion or claim; news also allows discount or perk. An exclusion list cuts unrelated articles.
Reporting only what is new. Seen items are recorded so the same announcement is not repeated. For help-center pages the last-modified date is part of the record, so a changed terms page alerts once more.
Leaving the claiming to a person. Neither the script nor the skill claims credits on your behalf; they stop at showing the link and steps, and signing in and applying is done by you.