Skip to content

Instantly share code, notes, and snippets.

@cogumm
Created March 8, 2016 00:23
Show Gist options
  • Save cogumm/939309755fb8a6f81847 to your computer and use it in GitHub Desktop.
Save cogumm/939309755fb8a6f81847 to your computer and use it in GitHub Desktop.
import feedparser
def showRSS(bot, update):
rss_url = feedparser.parse("http://distrowatch.com/news/dwd.xml")
for i in range(1):
sendMessage(bot, update,
rss_url.entries[i].title + ": \n" +
rss_url.entries[i].link)
return rss_url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment