Quantcast
Channel: question regarding universal feed parser - Stack Overflow
Viewing all articles
Browse latest Browse all 2

question regarding universal feed parser

0
0

I faced a problem grabbing the content from a couple of blog feeds I have crawled.

I'm uncertain what is the reason, but by parsing one or two blogs with the feedparser returns me this particular error:

results = feedparser.parse(url)

  ent = []

  for entry in results.entries:
     e = {}
     e['title'] = entry.title
     e['content'] = entry.content[0].value

object has no attribute 'content'

or

object has no attribute 'link'

This hasn't been the case for the rest of my other blogs. Does empty entry content results in this?


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images