Update 'xppl/getannot.py'

This commit is contained in:
anglk 2019-01-30 20:19:00 +01:00
parent e30b59d6a5
commit ea25fbcd10

View File

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