diff --git a/feed_parser.py b/feed_parser.py new file mode 100755 index 0000000..bdf32f8 --- /dev/null +++ b/feed_parser.py @@ -0,0 +1,11 @@ +#!/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) + diff --git a/mk_show.py b/mk_show.py index f056b8b..82a101d 100755 --- a/mk_show.py +++ b/mk_show.py @@ -100,6 +100,7 @@ def create_episode_playlist(episode_playlist: list, complete_playlist:list): min_track_dur = 2 # TODO what is most important 12 tracks or 60 minutes + # what will while episode_duration < 60 * 60 and track_count < 12 : cursor = conn.cursor()