Unofficial bot for keeping up with POLITICO's newsletters
Bot created using python-telegram-bot. Every day at 8:00 UTC the bot navigates to Politico's Morning Tech and Brussels Playbook newsletters' pages. It retrieves the latest issue and sends the link to the @POLITICOnewsletter Telegram Channel, where it can be read using the Instant View feature.
Morning Tech gets published at 10:00 EST, so the issue that appears on the channel has been published the day before at 15:00 UTC.
Brussels Playbook gets published around 7:00 UTC+1 (Brussels timezone), so the issue that appears on the channel appears on the same day, some two hours later.
- python-telegram-bot for creating and operating the bot
- Beautiful Soup 4 and Requests for scraping the newsletters' pages and getting the latest issue
- time and schedule to send the messages every day at the same time