Fix reddit sources needing to be named "reddit"
This commit is contained in:
parent
d10b4f9205
commit
933596d25c
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue