A simple script that just checks the update status of blogs and the like. As usual, enter the URL of http: // Untara RSS with raw_input.
feed.py
#!/user/bin/env python
# -*- coding: utf-8 -*-
import feedparser
rssurl = raw_input("Feed URL: ")
feed = feedparser.parse(rssurl)
for entry in feed["entries"]:
title = entry["title"]
link = entry["link"]
time = entry["updated"]
print "Title: ", title
print "Link: ", link
print "Time: ", time
Recommended Posts