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:
parent
8a014c6abc
commit
40727704c2
3 changed files with 109 additions and 16 deletions
|
@ -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":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue