|
|
@ -67,13 +67,14 @@ def get_subreddit_threads():
|
|
|
|
|
|
|
|
|
|
|
|
for top_level_comment in submission.comments:
|
|
|
|
for top_level_comment in submission.comments:
|
|
|
|
if not top_level_comment.stickied:
|
|
|
|
if not top_level_comment.stickied:
|
|
|
|
content["comments"].append(
|
|
|
|
if not comment.author == None:
|
|
|
|
{
|
|
|
|
content["comments"].append(
|
|
|
|
"comment_body": top_level_comment.body,
|
|
|
|
{
|
|
|
|
"comment_url": top_level_comment.permalink,
|
|
|
|
"comment_body": top_level_comment.body,
|
|
|
|
"comment_id": top_level_comment.id,
|
|
|
|
"comment_url": top_level_comment.permalink,
|
|
|
|
}
|
|
|
|
"comment_id": top_level_comment.id,
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
except AttributeError as e:
|
|
|
|
except AttributeError as e:
|
|
|
|
pass
|
|
|
|
pass
|
|
|
|