↧
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 ArticleWhy 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