Three fields in item

main
Bob Mottram 2020-10-06 20:19:12 +01:00
parent 143354d537
commit 83bfd0b40a
1 changed files with 1 additions and 1 deletions

View File

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