default parsers are now only lxml and lxmlsoup, to prevent bad behaviors with bad parsers

This commit is contained in:
Romain Bignon 2012-02-02 10:17:41 +01:00
commit 1fa64bf5f1

View file

@ -52,7 +52,7 @@ def load_json():
from .jsonparser import JsonParser from .jsonparser import JsonParser
return JsonParser return JsonParser
def get_parser(preference_order=('lxml', 'lxmlsoup', 'html5lib', 'elementtidy', 'builtin')): def get_parser(preference_order=('lxml', 'lxmlsoup')):
""" """
Get a parser from a preference order list. Get a parser from a preference order list.
This allows Weboob to run on systems without lxml, which is the default parser. This allows Weboob to run on systems without lxml, which is the default parser.