cherry-pick 89e63aa4
This commit is contained in:
parent
4666b63e3e
commit
08373f9f75
1 changed files with 2 additions and 2 deletions
|
|
@ -53,8 +53,8 @@ def xml_to_json(xml_file):
|
||||||
"description": edge.find("./data[@key='d6']", namespace).text
|
"description": edge.find("./data[@key='d6']", namespace).text
|
||||||
if edge.find("./data[@key='d6']", namespace) is not None
|
if edge.find("./data[@key='d6']", namespace) is not None
|
||||||
else "",
|
else "",
|
||||||
"keywords": edge.find("./data[@key='d7']", namespace).text
|
"keywords": edge.find("./data[@key='d9']", namespace).text
|
||||||
if edge.find("./data[@key='d7']", namespace) is not None
|
if edge.find("./data[@key='d9']", namespace) is not None
|
||||||
else "",
|
else "",
|
||||||
"source_id": edge.find("./data[@key='d8']", namespace).text
|
"source_id": edge.find("./data[@key='d8']", namespace).text
|
||||||
if edge.find("./data[@key='d8']", namespace) is not None
|
if edge.find("./data[@key='d8']", namespace) is not None
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue