Offer bot, a modular publishing pipeline
July to August 2026
A pipeline that fetches discounted products, drops duplicates and small discounts, writes the caption and the
story image, runs a rule-based review, and posts to Telegram. Each stage is its own module, so a new source
or channel is one new file.
Promobit sends people to stores through a client-side JavaScript redirect that plain HTTP clients cannot
follow. The fetcher reads the destination out of the inline script, after checking robots.txt, and rebuilds
Amazon links from the product code so the affiliate tag is applied.
It runs as a GitHub Actions workflow that an external cron job triggers every ten minutes, because GitHub's
own schedule was too unreliable, and it commits its state back to the repository.
- Run
- 51 days, July 9 to August 28: 562 offers posted to Telegram
- First 31 days
- 402 of 410 attempts succeeded (98%)
- After that
- Telegram began rejecting most requests (HTTP 400) and success fell to 15 to 22%
- Stack
- Python 3.12, asyncio, httpx, BeautifulSoup4, Pillow, GitHub Actions