|
@ -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: |
|
|