From 327a79479d80dc7c1760f32887b7f07723529d66 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Thu, 16 Nov 2023 06:11:21 +0000 Subject: [PATCH] intake-reddit: old.reddit.com --- intake-reddit/intake_reddit/core.py | 2 +- intake-reddit/pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/intake-reddit/intake_reddit/core.py b/intake-reddit/intake_reddit/core.py index 94d4fdd..1afc512 100644 --- a/intake-reddit/intake_reddit/core.py +++ b/intake-reddit/intake_reddit/core.py @@ -180,7 +180,7 @@ def main(): # Link 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 item["ttl"] = SORT_TTL.get(sub_sort, 60 * 60 * 24 * 8) diff --git a/intake-reddit/pyproject.toml b/intake-reddit/pyproject.toml index 17e2252..57c5d22 100644 --- a/intake-reddit/pyproject.toml +++ b/intake-reddit/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "intake-reddit" -version = "1.0.0" +version = "1.0.1" [project.scripts] intake-reddit = "intake_reddit.core:main"