Fix reddit sources needing to be named "reddit"

This commit is contained in:
Tim Van Baak 2020-12-29 20:54:11 -08:00
parent d10b4f9205
commit 933596d25c
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ class RedditScraper:
def item_from_post(self, post): def item_from_post(self, post):
item = { item = {
'source': 'reddit', 'source': self.source,
'id': post.id, 'id': post.id,
'title': self.get_title(post), 'title': self.get_title(post),
'link': self.get_link(post), 'link': self.get_link(post),