feedparser-clj
feedparser-clj copied to clipboard
parse-feed does not follow HTTP 302 redirects
For example running (parse-feed "http://engineering.tumblr.com/rss")
throws:
SAXParseException Premature end of file. com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException (ErrorHandlerWrapper.java:203)
$ curl -I http://engineering.tumblr.com/rss
HTTP/1.1 302 Found
Server: openresty
Date: Wed, 26 Jul 2017 14:01:55 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Strict-Transport-Security: max-age=15552001
Location: https://engineering.tumblr.com/rss#_=_