itParse all articles. Too many feeds are wrong. - zs - Zeitungsschau rss to email converter Err gopher.r-36.net 70 hgit clone git://r-36.net/zs URL:git://r-36.net/zs gopher.r-36.net 70 1Log /scm/zs/log.gph gopher.r-36.net 70 1Files /scm/zs/files.gph gopher.r-36.net 70 1Refs /scm/zs/refs.gph gopher.r-36.net 70 1LICENSE /scm/zs/file/LICENSE.gph gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1commit 86eaa6478dd9b6c0803f811d98632a73479aa017 /scm/zs/commit/86eaa6478dd9b6c0803f811d98632a73479aa017.gph gopher.r-36.net 70 1parent e47a4623997bd098ca5988fdfd21b61d327860c8 /scm/zs/commit/e47a4623997bd098ca5988fdfd21b61d327860c8.gph gopher.r-36.net 70 hAuthor: Christoph Lohmann <20h@r-36.net> URL:mailto:20h@r-36.net gopher.r-36.net 70 iDate: Sat, 12 Jan 2019 19:27:15 +0100 Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iParse all articles. Too many feeds are wrong. Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iDiffstat: Err gopher.r-36.net 70 i zeitungsschau/feed.py | 2 +- Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i1 file changed, 1 insertion(+), 1 deletion(-) Err gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1diff --git a/zeitungsschau/feed.py b/zeitungsschau/feed.py /scm/zs/file/zeitungsschau/feed.py.gph gopher.r-36.net 70 it@@ -367,7 +367,7 @@ def parseatomfeed(astr): Err gopher.r-36.net 70 i # Richard Stallman? Err gopher.r-36.net 70 i try: Err gopher.r-36.net 70 i feed["articles"] = sorted(articles, key=lambda article: \ Err gopher.r-36.net 70 i- article["updated"])[:64] Err gopher.r-36.net 70 i+ article["updated"]) Err gopher.r-36.net 70 i except TypeError: Err gopher.r-36.net 70 i for article in articles: Err gopher.r-36.net 70 i print(article["updated"]) Err gopher.r-36.net 70 .