Update 'xppl/getannot.py'
This commit is contained in:
parent
e30b59d6a5
commit
ea25fbcd10
@ -45,7 +45,7 @@ def get_annot_results(annot, name):
|
|||||||
data = {
|
data = {
|
||||||
'text': item['text'],
|
'text': item['text'],
|
||||||
'extract': item['target'][0]['selector'][2]['exact'],
|
'extract': item['target'][0]['selector'][2]['exact'],
|
||||||
'title': item['document']['title'], 'url': item['uri']
|
'title': item['uri'], 'url': item['uri']
|
||||||
}
|
}
|
||||||
res.append(data)
|
res.append(data)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user