Quantcast
Channel: Active questions tagged feedparser - Stack Overflow
Viewing all articles
Browse latest Browse all 106

Python - feed updates using ETag and Modified giving 200 but feed is not updated

$
0
0

I am trying to skip over RSS feeds if not updated since my last visit. For this, the following guidelines of the documentation:http://pythonhosted.org/feedparser/http-etag.html, I wrote the following code:

import feedparser as fpd = fp.parse("https://geeksgod.com/category/internships/feed/")d2 = fp.parse("https://geeksgod.com/category/internships/feed/",etag=d.etag, modified=d.modified)print(d2.status)Output:200

But apparently, the page is not updated and still, it is giving 200 status. I have used both Etag and Modified. I am not able to understand how to correct this? Any help is appreciated. Thank you in advance.


Viewing all articles
Browse latest Browse all 106

Latest Images

Trending Articles



Latest Images

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