From aaf93b337bfb82f5c8e11ca7387ef02e424d667c Mon Sep 17 00:00:00 2001 From: fred <2220111+fred0r@users.noreply.github.com> Date: Sun, 25 Feb 2024 20:57:57 +0100 Subject: [PATCH] Update Spiffytitles/Reddit ugly, but works. --- SpiffyTitles/plugin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SpiffyTitles/plugin.py b/SpiffyTitles/plugin.py index a46ef38..2fd972f 100644 --- a/SpiffyTitles/plugin.py +++ b/SpiffyTitles/plugin.py @@ -1460,19 +1460,19 @@ class SpiffyTitles(callbacks.Plugin): "thread": { "pattern": r"^/r/(?P[^/]+)/comments/(?P[^/]+)" r"(?:/[^/]+/?)?$", - "url": "https://www.reddit.com/r/{subreddit}/comments/{thread}.json", + "url": "https://old.reddit.com/r/{subreddit}/comments/{thread}.json", }, "comment": { "pattern": r"^/r/(?P[^/]+)/comments/(?P[^/]+)/" r"[^/]+/(?P\w+/?)$", "url": ( - "https://www.reddit.com/r/{subreddit}/comments/{thread}/x/" + "https://old.reddit.com/r/{subreddit}/comments/{thread}/x/" "{comment}.json" ), }, "user": { "pattern": r"^/u(?:ser)?/(?P[^/]+)/?$", - "url": "https://www.reddit.com/user/{user}/about.json", + "url": "https://old.reddit.com/user/{user}/about.json", }, } info = urlparse(url)