diff --git a/xppl/getannot.py b/xppl/getannot.py index 0f0ccf1..d110ab7 100644 --- a/xppl/getannot.py +++ b/xppl/getannot.py @@ -45,7 +45,7 @@ def get_annot_results(annot, name): data = { 'text': item['text'], 'extract': item['target'][0]['selector'][2]['exact'], - 'title': item['document']['title'], 'url': item['uri'] + 'title': item['uri'], 'url': item['uri'] } res.append(data) else: