summaryrefslogtreecommitdiff
path: root/zdf.py
diff options
context:
space:
mode:
Diffstat (limited to 'zdf.py')
-rwxr-xr-xzdf.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/zdf.py b/zdf.py
index 37749ac..28373ea 100755
--- a/zdf.py
+++ b/zdf.py
@@ -68,7 +68,12 @@ def zdf(feed):
'guid': s_guid,
})
- return title, url, description, content
+ return {
+ "title": title,
+ "url": url,
+ "description": description,
+ "content": content,
+ }
except Exception as exc:
logging.error('Working with zdf failed.', exc_info=exc)
return None