intake-reddit: old.reddit.com

This commit is contained in:
Tim Van Baak 2023-11-16 06:11:21 +00:00
parent eafc8f3abb
commit 327a79479d
2 changed files with 2 additions and 2 deletions

View File

@ -180,7 +180,7 @@ def main():
# Link # Link
if post_link := post_data.get("permalink"): if post_link := post_data.get("permalink"):
item["link"] = f"https://reddit.com{post_link}" item["link"] = f"https://old.reddit.com{post_link}"
# TTL # TTL
item["ttl"] = SORT_TTL.get(sub_sort, 60 * 60 * 24 * 8) item["ttl"] = SORT_TTL.get(sub_sort, 60 * 60 * 24 * 8)

View File

@ -1,6 +1,6 @@
[project] [project]
name = "intake-reddit" name = "intake-reddit"
version = "1.0.0" version = "1.0.1"
[project.scripts] [project.scripts]
intake-reddit = "intake_reddit.core:main" intake-reddit = "intake_reddit.core:main"