From 4ad871148f1c1a7a9eb6b0feaf5e576d3cccd34a Mon Sep 17 00:00:00 2001 From: Jason Date: Sat, 11 Jun 2022 13:38:10 -0400 Subject: [PATCH] fixed video error --- reddit/subreddit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reddit/subreddit.py b/reddit/subreddit.py index f0bcf74..69c1c0b 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.permalink + content["thread_url"] = f'https://reddit.com{submission.permalink}' content["thread_title"] = submission.title # content["thread_content"] = submission.content content["comments"] = []