Reputation: 449
Anyone know of a good feed parser for python 3.1? I was using feedparser for 2.5 but it doesn't seem to be ported to 3.1 yet, and it's apparently more complicated than just running 2to3.py on it. Any help?
Upvotes: 8
Views: 3159
Reputation: 4345
feedparser
is now available for Python 2.4 up to 3.3- https://code.google.com/p/feedparser/
Upvotes: 2
Reputation: 1410
I've been working on porting feedparser to Python 3, and I've published a feedparser/Python 3 development branch at GitHub with the results of that work so far.
There is also an open bug report about porting feedparser to Python 3, but since I'm a new user at StackOverflow, I'm currently limited to just a single link. You'll find the link to the bug report at the top of the GitHub page (it links to code.google.com).
Upvotes: 1
Reputation: 16838
You may take a look at the Atom Models blog post by Ian Bicking. He proposes not to use any special "feed parsing" library because Atom and RSS are just XML so your model is really an XML tree, not some fancy class. You could try his code under Python 3.
Upvotes: 4