From 9d101a0dadd14d5a78aaf46e341291bf1c6d0644 Mon Sep 17 00:00:00 2001 From: "Stefan R. Grotz" Date: Sun, 10 Mar 2019 10:16:42 +0100 Subject: [PATCH 1/2] 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. --- feediverse.py | 1 + 1 file changed, 1 insertion(+) diff --git a/feediverse.py b/feediverse.py index 5a51207..0589543 100755 --- a/feediverse.py +++ b/feediverse.py @@ -69,6 +69,7 @@ def get_entry(entry): hashtags.append('#{}'.format(t)) return { 'url': entry.id, + 'link': entry.link, 'title': entry.title, 'summary': entry.get('summary', ''), 'hashtags': ' '.join(hashtags), From 078f0edbf7885d633f2a9fa944afb791efe27174 Mon Sep 17 00:00:00 2001 From: "Stefan R. Grotz" Date: Sun, 10 Mar 2019 10:18:58 +0100 Subject: [PATCH 2/2] updated readme template section --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 76a74e4..6c5ff81 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ like so: Bookmark: {title} {url} {summary} `{hashtags}` will look for tags in the feed entry and turn them into a space -separated list of hashtags. +separated list of hashtags. For some feeds (e.g. youtube-rss) you should use `{link}` instead of `{url}`. ## Multiple Feeds