diff --git a/app/templates/_twitter_post.html b/app/templates/_twitter_post.html index 6826f3f..b7e7a8a 100644 --- a/app/templates/_twitter_post.html +++ b/app/templates/_twitter_post.html @@ -9,7 +9,7 @@ -
{{ post.op }}
+
{{ post.op }}
{{post.date}} {% if post.isPinned %} diff --git a/nitter/feed.py b/nitter/feed.py index e860cf6..05f820b 100644 --- a/nitter/feed.py +++ b/nitter/feed.py @@ -38,13 +38,12 @@ def get_feed(usernames, daysMaxOld=10, includeRT=True): else: userFeed.append(tweet) else: - userFeed.append(feed) + userFeed+=feed try: for uf in userFeed: if uf == 'emptyFeed': userFeed.remove(uf) userFeed.sort(key=lambda item:item['timeStamp'], reverse=True) - #userFeed.sort(key=lambda x: datetime.datetime.strptime(x['timeStamp'], '%Y-%m-%d %H:%M:%S'), reverse=True) except: return userFeed return userFeed \ No newline at end of file