update reddit link in post
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user