uho/feed_parser.py

13 lines
316 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/uho/html/podcast_rss.xml')
d = feedparser.parse('https://uho.rizom.si/podcast_rss.xml')
for post in d.entries:
# print(post.title + ": " + post.link + "")
print(post)