fixed hashtags
This commit is contained in:
@ -66,7 +66,7 @@ def get_feed(feed_url, last_update):
|
|||||||
def get_entry(entry):
|
def get_entry(entry):
|
||||||
hashtags = []
|
hashtags = []
|
||||||
for tag in entry.get('tags', []):
|
for tag in entry.get('tags', []):
|
||||||
hashtags.add('#{}'.format(tag.value))
|
hashtags.append('#{}'.format(tag.value))
|
||||||
return {
|
return {
|
||||||
'url': entry.id,
|
'url': entry.id,
|
||||||
'title': entry.title,
|
'title': entry.title,
|
||||||
|
|||||||
Reference in New Issue
Block a user