From 45e201152f7c6bf76a0072e8fe494d76f29e177e Mon Sep 17 00:00:00 2001 From: Ivan Paramonau Date: Wed, 15 Jan 2025 11:57:52 -0500 Subject: [PATCH] tests: fix sverigesradio --- plugins/domains/sverigesradio.se.js | 12 ++++++------ plugins/links/hosted/libsyn-hosted.js | 3 +-- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/plugins/domains/sverigesradio.se.js b/plugins/domains/sverigesradio.se.js index 94ef510f1..c7f3cdfaf 100644 --- a/plugins/domains/sverigesradio.se.js +++ b/plugins/domains/sverigesradio.se.js @@ -1,12 +1,12 @@ export default { re: [ - /^https?:\/\/sverigesradio\.se\/sida\/(artikel)\.aspx\?programid=\d+&artikel=(\d+)/i, - /^https?:\/\/sverigesradio\.se\/(artikel)\/(\d+)\/?(?:\?.+)?$/i, - /^https?:\/\/sverigesradio\.se\/(artikel)\/([^\/]+)(?:\?.+)?$/i, - /^https?:\/\/sverigesradio\.se\/embed\/(publication|episode)\/(\d+)/i, - /^https?:\/\/sverigesradio\.se\/(avsnitt)\/(\d+)\/?(?:\?.+)?$/i, - /^https?:\/\/sverigesradio\.se\/(avsnitt)\/([^\/]+)(?:\?.+)?$/i, + /^https?:\/\/(?:www\.)?sverigesradio\.se\/sida\/(artikel)\.aspx\?programid=\d+&artikel=(\d+)/i, + /^https?:\/\/(?:www\.)?sverigesradio\.se\/(artikel)\/(\d+)\/?(?:\?.+)?$/i, + /^https?:\/\/(?:www\.)?sverigesradio\.se\/(artikel)\/([^\/]+)(?:\?.+)?$/i, + /^https?:\/\/(?:www\.)?sverigesradio\.se\/embed\/(publication|episode)\/(\d+)/i, + /^https?:\/\/(?:www\.)?sverigesradio\.se\/(avsnitt)\/(\d+)\/?(?:\?.+)?$/i, + /^https?:\/\/(?:www\.)?sverigesradio\.se\/(avsnitt)\/([^\/]+)(?:\?.+)?$/i, ], provides: 'sveriges', diff --git a/plugins/links/hosted/libsyn-hosted.js b/plugins/links/hosted/libsyn-hosted.js index 44b7882b3..4d1ffcef6 100644 --- a/plugins/links/hosted/libsyn-hosted.js +++ b/plugins/links/hosted/libsyn-hosted.js @@ -24,7 +24,6 @@ export default { tests: [ "http://trendfollowingradio.com/episode-1-the-trend-following-manifesto-with-michael-covel", "http://coloristpodcast.com/episode-005-terence-curren", // No oembed autodiscovery on canonical - "http://whos-he-podcast.co.uk/whos-he-podcast-274", - "http://heartfeldt.spinninpodcasts.com/heartfeldt-radio-76", // No oembed autodiscovery on canonical + "http://whos-he-podcast.co.uk/whos-he-podcast-274" ] }; \ No newline at end of file