forked from indymedia/epicyon
Three fields in item
parent
143354d537
commit
83bfd0b40a
|
@ -79,7 +79,7 @@ def xml2StrToDict(xmlStr: str) -> {}:
|
||||||
try:
|
try:
|
||||||
publishedDate = \
|
publishedDate = \
|
||||||
datetime.strptime(pubDate, "%a, %d %b %Y %H:%M:%S %z")
|
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
|
parsed = True
|
||||||
except BaseException:
|
except BaseException:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue