Replies: 4 comments 3 replies
-
Unfortunately, for my channels of interest, there are no |
Beta Was this translation helpful? Give feedback.
-
I think that an option to filter youtube videos by length should be added. IMO it is the best option, since Miniflux already fetches watch time using |
Beta Was this translation helpful? Give feedback.
-
As a workaround I have created a python script that uses the Miniflux api to mark youtube videos of length 1 minute or less as read. # Licensed under MIT license
# Link to discussion: https://github.com/orgs/miniflux/discussions/1827#discussioncomment-7480033
# Steps to use:
# - Install the Miniflux python client: https://miniflux.app/docs/api.html#python-client
# - Replace rss.example.com with your Miniflux instance url
# - Replace API_KEY with your Miniflux api key which you can get here https://rss.example.com/keys
import re
import miniflux
client = miniflux.Client("https://rss.example.com", api_key="API_KEY")
all_feeds = client.get_feeds()
youtube_feeds_ids = []
for feed in all_feeds:
if re.match(r"https://www.youtube.com/channel/[\w-]*", feed["site_url"]):
youtube_feeds_ids.append(feed["id"])
for feed_id in youtube_feeds_ids:
entries = client.get_feed_entries(feed_id=feed_id)
for entry in entries["entries"]:
if entry["reading_time"] == 1 and entry["status"] == "unread":
print(entry["id"], entry["title"])
client.update_entries([entry["id"]], status="read") |
Beta Was this translation helpful? Give feedback.
-
ideally also an option to not include live streams until they have actually started i feel is in line with this discussion |
Beta Was this translation helpful? Give feedback.
-
Unfortunately YouTube underwent tiktokizatinon and there are more and more short videos present. Most of them are quite... dumb as they serve as and hint that there is another full video or is an excerpt form full-length video...
There is no XML tag but there are tags (and there is
#shorts
in most/all of them) in the contents. Unfortunately miniflux only allow filtering by topic.Beta Was this translation helpful? Give feedback.
All reactions