Skip to content

matteocontrini/ildolomiti-telegram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Il Dolomiti Telegram

This repository contains the robot that powers the @ildolomitinews Telegram channel.

Improvements over the previous version:

  • Duplicate article detection based on Drupal's node ID
    • When the title of an article changes, the already sent Telegram message is modified
  • Retry at next round when an article fetch fails
  • Download images and upload them "manually" to Telegram API to avoid fetch failures
    • Fallback to a placeholder image if the image couldn't be downloaded
  • Cache busting on article URLs, to avoid incurring into 404. Previously, if you requested an article to soon it would 404 and stay 404 in the edge cache for that particular request
  • Improved tag parsing

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages