mirror of https://gitlab.com/bashrc2/epicyon
Three fields in item
parent
143354d537
commit
83bfd0b40a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue