mr-rigden/pyPodcastParser

XMLParsedAsHTMLWarning warning from BeautifulSoup

Julian-O opened this issue · 0 comments

When I parse an RSS feed, like this example, bs4 issues a warning:

XMLParsedAsHTMLWarning: It looks like you're parsing an XML document using an HTML parser. If this really is an HTML document (maybe it's XHTML?), you can ignore or filter this warning. If it's XML, you should know that using an XML parser will be more reliable. To parse this document as XML, make sure you have the lxml package installed, and pass the keyword argument features="xml" into the BeautifulSoup constructor.