default parsers are now only lxml and lxmlsoup, to prevent bad behaviors with bad parsers
This commit is contained in:
parent
82bffbd660
commit
1fa64bf5f1
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue