From 933596d25c183782a8864e0d8c47bc65a64a791d Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Tue, 29 Dec 2020 20:54:11 -0800 Subject: [PATCH] Fix reddit sources needing to be named "reddit" --- inquisitor/templates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inquisitor/templates.py b/inquisitor/templates.py index 7f5bd8d..b33f62d 100644 --- a/inquisitor/templates.py +++ b/inquisitor/templates.py @@ -133,7 +133,7 @@ class RedditScraper: def item_from_post(self, post): item = { - 'source': 'reddit', + 'source': self.source, 'id': post.id, 'title': self.get_title(post), 'link': self.get_link(post),