added entry.link to support youtube rss
youtube RSS (e.g. https://www.youtube.com/feeds/videos.xml?channel_id=UCsXVk37bltHxD1rDPwtNM8Q) uses link tags so I added them to them.
This commit is contained in:
@ -69,6 +69,7 @@ def get_entry(entry):
|
|||||||
hashtags.append('#{}'.format(t))
|
hashtags.append('#{}'.format(t))
|
||||||
return {
|
return {
|
||||||
'url': entry.id,
|
'url': entry.id,
|
||||||
|
'link': entry.link,
|
||||||
'title': entry.title,
|
'title': entry.title,
|
||||||
'summary': entry.get('summary', ''),
|
'summary': entry.get('summary', ''),
|
||||||
'hashtags': ' '.join(hashtags),
|
'hashtags': ' '.join(hashtags),
|
||||||
|
|||||||
Reference in New Issue
Block a user