mirror of https://gitlab.com/bashrc2/epicyon
Create dictionary of rss items
parent
b58298d8aa
commit
03ae084037
|
@ -173,7 +173,9 @@ def getDictFromNewswire(session, baseDir: str) -> {}:
|
|||
continue
|
||||
if url.startswith('#'):
|
||||
continue
|
||||
result = dict(result.items() + getRSS(session, url).items())
|
||||
itemsList = getRSS(session, url)
|
||||
for dateStr, item in itemsList.items():
|
||||
result[dateStr] = item
|
||||
sortedResult = OrderedDict(sorted(result.items(), reverse=False))
|
||||
return sortedResult
|
||||
|
||||
|
|
Loading…
Reference in New Issue