danmactough / node-feedparser

Robust RSS, Atom, and RDF feed parsing in Node.js
Other
1.97k stars 192 forks source link

Your RSS reader does not support (gzip) compression #117

Closed kilkujadek closed 10 years ago

kilkujadek commented 10 years ago

Hi

When I try to parse feed: http://rss.binsearch.net/rss.php?max=50&g=alt.binaries.dvd.movies I'm getting error:

Your RSS reader does not support (gzip) compression

How should I handle compresed feeds with feedparser?

danmactough commented 10 years ago

It's just a feed parser. Getting the data (http, usually) and getting it to plain xml is the user's responsibility. You can use a http agent that does gunzip/inflate transparently, or follow the iconv example and make your own streaming decompression step.