Quantcast
Channel: How to scrape xml feed with xmlfeedspider - Stack Overflow
Browsing all 4 articles
Browse latest View live

Answer by rocketkid for How to scrape xml feed with xmlfeedspider

Just change itertag = 'item'. If you refer to the documentation of parse_node method, it states that the method is called for the nodes matching the provided tag name (itertag). In you case it is...

View Article


Answer by bzudo for How to scrape xml feed with xmlfeedspider

Try changing your itertag from itertag = 'channel' to 'itertag = 'item'

View Article


Answer by user647772 for How to scrape xml feed with xmlfeedspider

I recommend the use of feedparser: feedparser.parse(url) results in {'bozo': 1, 'bozo_exception': xml.sax._exceptions.SAXParseException("EntityRef: expecting ';'\n"), 'encoding': u'utf-8', 'entries':...

View Article

How to scrape xml feed with xmlfeedspider

I am trying to scrape an xml file with the below format file_sample.xml: <rss version="2.0"> <channel> <item> <title>SENIOR BUDGET ANALYST (new)</title>...

View Article
Browsing all 4 articles
Browse latest View live


Latest Images