From eafc8f3abb5e503eab89f4d62f353e5cf9ba1e79 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Thu, 16 Nov 2023 06:11:07 +0000 Subject: [PATCH] intake-praw: old.reddit.com --- intake-praw/intake_praw/core.py | 2 +- intake-praw/pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/intake-praw/intake_praw/core.py b/intake-praw/intake_praw/core.py index 814e09a..ae753e3 100644 --- a/intake-praw/intake_praw/core.py +++ b/intake-praw/intake_praw/core.py @@ -91,7 +91,7 @@ def main(): item["id"] = post.id item["title"] = f"/{post.subreddit_name_prefixed}: {post.title}" item["author"] = f"/u/{post.author.name}" if post.author else "[deleted]" - item["link"] = f"https://reddit.com{post.permalink:}" + item["link"] = f"https://old.reddit.com{post.permalink:}" item["time"] = post.created_utc item["tags"] = list(tags) item["ttl"] = SORT_TTL.get(sub_sort, 60 * 60 * 24 * 8) diff --git a/intake-praw/pyproject.toml b/intake-praw/pyproject.toml index bd77871..a1682e1 100644 --- a/intake-praw/pyproject.toml +++ b/intake-praw/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "intake-praw" -version = "1.0.1" +version = "1.0.2" [project.scripts] intake-praw = "intake_praw.core:main"