feedparser
feedparser copied to clipboard
How to parse item to json for storing in mongodb
How can I parse the FeedParserDict
to json, so I can store that in the database?
You should ask this question on http://stackoverflow.com/.
import feedparser import json feed =feedparser.parse(url) output =json.dumps(feed)
On Mon, 6 Feb 2017, 16:36 Akshay Raj Gollahalli, [email protected] wrote:
You should ask this question on http://stackoverflow.com/.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kurtmckee/feedparser/issues/92#issuecomment-277861493, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGCwIixJ9b60rqZFvGTPEGkT22ObWAqks5rZ7yOgaJpZM4Ln44K .