From 3c498d377f6814cfa352a0c9316df8af4c4e96e1 Mon Sep 17 00:00:00 2001 From: Jason <66544866+JasonLovesDoggo@users.noreply.github.com> Date: Sat, 11 Jun 2022 13:30:30 -0400 Subject: [PATCH] Update subreddit.py Fix thanks to Owlcept#0666 --- reddit/subreddit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reddit/subreddit.py b/reddit/subreddit.py index ca7c66f..f0bcf74 100644 --- a/reddit/subreddit.py +++ b/reddit/subreddit.py @@ -80,7 +80,7 @@ def get_subreddit_threads(): ) # todo use global instend of env vars environ["VIDEO_ID"] = str(textify(submission.id)) try: - content["thread_url"] = submission.url + content["thread_url"] = submission.permalink content["thread_title"] = submission.title # content["thread_content"] = submission.content content["comments"] = []