diff --git a/plugins/domains/absnews.go.com.js b/plugins/domains/absnews.go.com.js index 67fcba458..a15082112 100644 --- a/plugins/domains/absnews.go.com.js +++ b/plugins/domains/absnews.go.com.js @@ -1,7 +1,8 @@ export default { re: [ - /^https?:\/\/abcnews\.go\.com\/\w+\/(?:\w+\/)?video\/[a-zA-Z0-9\-_]+\-(\d+)/i + /^https?:\/\/abcnews\.go\.com\/\w+\/(?:\w+\/)?video\/[a-zA-Z0-9\-_]+\-(\d+)/i, + /^https?:\/\/abcnews\.com\/video\/(\d+)/i // format with redirect ], mixins: ["*"], @@ -9,7 +10,7 @@ export default { getLink: function(urlMatch) { return { - href: "https://abcnews.go.com/video/embed?id=" + urlMatch[1], + href: "https://abcnews.com/video/embed?id=" + urlMatch[1], type: CONFIG.T.text_html, rel: CONFIG.R.player, "aspect-ratio": 640 / 360 @@ -21,6 +22,11 @@ export default { }, "https://abcnews.go.com/GMA/News/video/trump-hamas-disarm-disarm-126540156", "https://abcnews.go.com/Nightline/video/bob-drag-queen-surprises-year-dressed-bob-drag-43209383", - "https://abcnews.go.com/GMA/Wellness/video/increasing-number-children-killed-flu-epidemic-53193259" + "https://abcnews.go.com/GMA/Wellness/video/increasing-number-children-killed-flu-epidemic-53193259", + + // format with redirect + "https://abcnews.com/video/126540156/", + "https://abcnews.com/video/43209383/", + "https://abcnews.com/video/53193259/" ] }; \ No newline at end of file diff --git a/plugins/links/hosted/23video-hosted.js b/plugins/links/hosted/23video-hosted.js index 984384236..bd9c9228c 100644 --- a/plugins/links/hosted/23video-hosted.js +++ b/plugins/links/hosted/23video-hosted.js @@ -17,12 +17,12 @@ export default { }, tests: [ - "http://video.itu.dk/live/13796543", - "http://video.ku.dk/visual-social-media-lab-farida-vis-anne", - // "https://video.twentythree.net/intro-to-twentythrees-player-builder", - "http://videos.theconference.se/paul-adams-solving-real-world-problems", - "http://www.fftv.no/skipatruljen-s3e3-voss-resort", - // "https://videos.23video.com/novo-nordisk", - "http://video.nextconf.eu/video/1880845/data-without-limits", + "https://video.itu.dk/live/13796543", + "https://video.ku.dk/visual-social-media-lab-farida-vis-anne", + "https://video.twentythree.net/intro-to-twentythrees-player-builder", + "https://www.fftv.no/skipatruljen-s3e3-voss-resort", + "https://videos.23video.com/novo-nordisk", + "https://video.nextconf.eu/video/1880845/data-without-limits", + // "http://videos.theconference.se/paul-adams-solving-real-world-problems", 503 ] }; \ No newline at end of file