documentation
This commit is contained in:
parent
f8e2016d59
commit
3f9083df27
2 changed files with 51 additions and 2 deletions
|
|
@ -42,7 +42,7 @@ def load_buildtin():
|
|||
from .htmlparser import HTMLParser
|
||||
return HTMLParser
|
||||
|
||||
def get_parser(preference_order=['lxml', 'html5lib', 'elementtidy', 'builtin']):
|
||||
def get_parser(preference_order=('lxml', 'html5lib', 'elementtidy', 'builtin')):
|
||||
"""
|
||||
Get a parser from a preference order list.
|
||||
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