show post author (very ugly as of now)

This commit is contained in:
2025-10-11 00:03:34 +02:00
parent 223dcd9a4c
commit b5d944278b
3 changed files with 15 additions and 5 deletions
+2 -1
View File
@@ -11,10 +11,11 @@ def split_data(data):
return count, posts, query, success
def format_data(data):
post_author = [post["author"] for post in data]
post_titles = [post["title"] for post in data]
post_links = [post["url"] for post in data]
return post_titles, post_links
return post_titles, post_links, post_author