Answer by henadzit for Telegram bot & feed parser-> reply rss feed in 1 msg...
You can try elif text == "/news": for i in range(3): reply("{} {}".format(feed.entries[i].summary, feed.entries[i].link)) You can replace the whitespace in "{} {}" with "\n" (newline character) if you...
View ArticleTelegram bot & feed parser-> reply rss feed in 1 msg instead of 2
Im trying to get my Telegram bot to reply news via rss feed. For this I'm using the module Feedparser. Now I have managed to get it to work however the bot sends 2 separate messages per feed item. The...
View Article