separate comment and post data structures

This allows for a flat data structure, benefical to data analysis
This commit is contained in:
2026-01-22 15:53:47 +00:00
parent 3c4aad77ef
commit 152264bda9
4 changed files with 30 additions and 26 deletions

View File

@@ -93,7 +93,6 @@ class RedditAPI:
source=self.source_name)
post.subreddit = post_data['subreddit']
post.upvotes = post_data['ups']
post.comments = self._get_post_comments(post.id)
posts.append(post)
return posts