Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
weboob
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
178
Issues
178
List
Boards
Labels
Milestones
Merge Requests
49
Merge Requests
49
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
weboob
weboob
Commits
1fa64bf5
Commit
1fa64bf5
authored
Feb 02, 2012
by
Romain Bignon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
default parsers are now only lxml and lxmlsoup, to prevent bad behaviors with bad parsers
parent
82bffbd6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
weboob/tools/parsers/__init__.py
weboob/tools/parsers/__init__.py
+1
-1
No files found.
weboob/tools/parsers/__init__.py
View file @
1fa64bf5
...
...
@@ -52,7 +52,7 @@ def load_json():
from
.jsonparser
import
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.
This allows Weboob to run on systems without lxml, which is the default parser.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment