mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Adding lxml as a SAX parser in feedparser.py
This commit is contained in:
parent
5cb7d1509a
commit
7221b4c5ee
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ ACCEPT_HEADER = "application/atom+xml,application/rdf+xml,application/rss+xml,ap
|
|||
# List of preferred XML parsers, by SAX driver name. These will be tried first,
|
||||
# but if they're not installed, Python will keep searching through its own list
|
||||
# of pre-installed parsers until it finds one that supports everything we need.
|
||||
PREFERRED_XML_PARSERS = ["drv_libxml2"]
|
||||
PREFERRED_XML_PARSERS = ["drv_lxml", "drv_libxml2"]
|
||||
|
||||
# If you want feedparser to automatically run HTML markup through HTML Tidy, set
|
||||
# this to 1. Requires mxTidy <http://www.egenix.com/files/python/mxTidy.html>
|
||||
|
|
Loading…
Add table
Reference in a new issue