Quantcast
Channel: lxml - difficulty parsing stackexchange rss feed - Stack Overflow
Browsing latest articles
Browse All 4 View Live

Answer by Michael Anderson for lxml - difficulty parsing stackexchange rss feed

The problem is namespaces.Run this : cooking_parsed.getroot().tagAnd you'll see that the element is namespaced as{http://www.w3.org/2005/Atom}feedSimilarly if you navigate to one of the feed...

View Article



Answer by gfortune for lxml - difficulty parsing stackexchange rss feed

Take a look at these two versionsimport lxml.html, lxml.etreeurl_cooking = 'http://cooking.stackexchange.com/feeds'#lxml.etree versiondata = lxml.etree.parse(url_cooking)summary_nodes =...

View Article

Answer by user850498 for lxml - difficulty parsing stackexchange rss feed

Try using BeautifulStoneSoup from the beautifulsoup import.It might do the trick.

View Article

lxml - difficulty parsing stackexchange rss feed

HiaI am having problems parsing an rss feed from stackexchange in python.When I try to get the summary nodes, an empty list is returnI have been trying to solve this, but can't get my head around.Can...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>