1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-26 18:21:01 +00:00

feat(rewrite): add support for YouTube Shorts video URL pattern

This commit is contained in:
Frédéric Guillot 2025-06-12 20:43:21 -07:00
parent 8a014c6abc
commit 40727704c2
3 changed files with 109 additions and 16 deletions

View file

@ -29,7 +29,7 @@ func (rule rule) applyRule(entryURL string, entry *model.Entry) {
case "add_dynamic_iframe":
entry.Content = addDynamicIframe(entry.Content)
case "add_youtube_video":
entry.Content = addYoutubeVideo(entryURL, entry.Content)
entry.Content = addYoutubeVideoRewriteRule(entryURL, entry.Content)
case "add_invidious_video":
entry.Content = addInvidiousVideo(entryURL, entry.Content)
case "add_youtube_video_using_invidious_player":