Quantcast
Channel: How to check if an RSS feed has been updated in Python? - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by cleg for How to check if an RSS feed has been updated in Python?

For "good" feeds you can use ETag and last-modfied-since mechanism, it's described here http://www.kbcafe.com/rss/rssfeedstate.htmlBut some servers doesn't support it, so you need to simply check post...

View Article


Answer by Martijn Pieters for How to check if an RSS feed has been updated in...

Each feed item has an identifier, in item.id. Track those, together with their .updated (or .updated_parsed) entry, to check for new items.So, see if you already have seen the item (via item.id) or if...

View Article

How to check if an RSS feed has been updated in Python?

I am using the feedparser library in Python to get the various details from an RSS feed. Suppose I have pulled out 25 headlines titles from an RSS feed of a news channel. After an hour I run the...

View Article
Browsing latest articles
Browse All 3 View Live