Quantcast
Viewing latest article 2
Browse Latest Browse All 2

Parse entries that is within specified date using feedparser

Basically this is my code but what it does is loop through all the post.

d = feedparser.parse('www.reddit.com/r/Python/.rss')

for post in d:
    print post.title

What I'm trying to accomplish is to have it loop only between a specifed date.

For example: display the posts between April 15, 2015 and April 16, 2015.


Viewing latest article 2
Browse Latest Browse All 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>