From 83bfd0b40a67e7ad16f49ee294e3824977dc063c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 6 Oct 2020 20:19:12 +0100 Subject: [PATCH] Three fields in item --- newswire.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newswire.py b/newswire.py index d47222c0d..6418560cf 100644 --- a/newswire.py +++ b/newswire.py @@ -79,7 +79,7 @@ def xml2StrToDict(xmlStr: str) -> {}: try: publishedDate = \ datetime.strptime(pubDate, "%a, %d %b %Y %H:%M:%S %z") - result[str(publishedDate)] = [title, link] + result[str(publishedDate)] = [title, link, ['votes:0']] parsed = True except BaseException: pass