uho/feed_parser.py

12 lines
257 B
Python
Executable File

#!/usr/bin/python3
import feedparser
#d = feedparser.parse('http://www.reddit.com/r/python/.rss')
d = feedparser.parse('file:///home/rob/antena/html/podcast_rss.xml')
for post in d.entries:
# print(post.title + ": " + post.link + "")
print(post)