Use _download_xml
in more extractors
This commit is contained in:
parent
a0088bdf93
commit
1825836235
4 changed files with 25 additions and 22 deletions
|
@ -1057,3 +1057,8 @@ def month_by_name(name):
|
|||
return ENGLISH_NAMES.index(name) + 1
|
||||
except ValueError:
|
||||
return None
|
||||
|
||||
|
||||
def fix_xml_all_ampersand(xml_str):
|
||||
"""Replace all the '&' by '&' in XML"""
|
||||
return xml_str.replace(u'&', u'&')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue