Quantcast
Channel: Why isn't XMLFeedSpider failing to iterate through the designated nodes? - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by alecxe for Why isn't XMLFeedSpider failing to iterate through the...

You need to handle namespaces:class PLoSSpider(XMLFeedSpider): name = "plos" namespaces = [('atom', 'http://www.w3.org/2005/Atom')] itertag = 'atom:entry' iterator = 'xml' # this is also importantSee...

View Article


Why isn't XMLFeedSpider failing to iterate through the designated nodes?

I'm trying to parse through PLoS's RSS feed to pick up new publications. The RSS feed is located here.Below is my spider:from scrapy.contrib.spiders import XMLFeedSpiderclass PLoSSpider(XMLFeedSpider):...

View Article

Browsing all 2 articles
Browse latest View live


Latest Images