update reddit link in post

This commit is contained in:
2025-05-12 15:36:57 +10:00
parent 68b2459da4
commit 4be19ef116
+1 -1
View File
@@ -317,7 +317,7 @@ def curate_from_reddit(posted_titles_data, posted_titles, used_images_data, used
title = post["title"] title = post["title"]
link = post.get("link", "") link = post.get("link", "")
summary = post.get("summary", "") summary = post.get("summary", "")
source_name = post.get("feed_title", "Reddit") source_name = "Reddit"
original_source = f'<a href="{link}">{source_name}</a>' original_source = f'<a href="{link}">{source_name}</a>'
original_url = link original_url = link
upvotes = post.get("upvotes", 0) upvotes = post.get("upvotes", 0)