mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Adding recovery parameter to OPML parser.
This commit is contained in:
parent
9c0479e7e3
commit
7e1238f6a6
1 changed files with 2 additions and 2 deletions
4
vendor/opml/__init__.py
vendored
4
vendor/opml/__init__.py
vendored
|
@ -59,8 +59,8 @@ class Opml(object):
|
|||
return self._outlines[index]
|
||||
|
||||
def from_string(opml_text):
|
||||
|
||||
return Opml(lxml.etree.fromstring(opml_text))
|
||||
parser = lxml.etree.XMLParser(recover=True)
|
||||
return Opml(lxml.etree.fromstring(opml_text, parser))
|
||||
|
||||
def parse(opml_url):
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue