27bcd00118
5b3989611f
@ -32,14 +32,15 @@ def get_askreddit_threads():
content["comments"] = []
for top_level_comment in submission.comments:
content["comments"].append(
if not top_level_comment.stickied:
{
"comment_body": top_level_comment.body,
"comment_url": top_level_comment.permalink,
"comment_id": top_level_comment.id,
}
)
except AttributeError as e:
pass
print_substep("Received AskReddit threads Successfully.", style="bold green")