From d000214e0f2bab2a847c2e337d0d5a465bf774c5 Mon Sep 17 00:00:00 2001 From: Alexey Date: Mon, 11 May 2026 16:31:38 +0300 Subject: [PATCH 1/3] change http to https --- plugins/domains/google.com/maps.google.com.js | 4 ++-- plugins/domains/slid.es.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/domains/google.com/maps.google.com.js b/plugins/domains/google.com/maps.google.com.js index aa6bf03f3..631ee5a0a 100644 --- a/plugins/domains/google.com/maps.google.com.js +++ b/plugins/domains/google.com/maps.google.com.js @@ -142,7 +142,7 @@ export default { delete thumb_query.zoom; } links.push({ - href: 'http://maps.googleapis.com/maps/api/staticmap?'+QueryString.stringify(thumb_query), + href: 'https://maps.googleapis.com/maps/api/staticmap?'+QueryString.stringify(thumb_query), rel: CONFIG.R.thumbnail, type: CONFIG.T.image // And let's validate image = that API key allows static maps @@ -165,7 +165,7 @@ export default { /* "https://maps.google.com/maps?saddr=Linz,+Austria&daddr=48.8674527,2.3531961+to:London,+United+Kingdom&hl=en&sll=49.843352,7.08885&sspn=5.930447,16.907959&geocode=Ffwa4QIdBvzZAClNhZn6lZVzRzHEdXlXLClTfA%3BFXyo6QIdLOgjACmptoaSEG7mRzHRA-RB5kIhIA%3BFa7_EQMd8Cv-_yl13iGvC6DYRzGZKtXdWjqWUg&oq=London&t=h&mra=dpe&mrsp=1&sz=7&via=1&z=7", "https://maps.google.com.ua/maps?q=%D1%87%D0%BE%D1%80%D0%BD%D0%BE%D0%B1%D0%B8%D0%BB%D1%8C%D1%81%D0%BA%D0%B0+%D0%B0%D0%B5%D1%81&hl=uk&ie=UTF8&ll=51.376442,30.132086&spn=0.01539,0.022144&sll=48.33599,31.18287&sspn=16.793485,22.675781&t=h&hq=%D1%87%D0%BE%D1%80%D0%BD%D0%BE%D0%B1%D0%B8%D0%BB%D1%8C%D1%81%D0%BA%D0%B0+%D0%B0%D0%B5%D1%81&z=16", - "http://goo.gl/maps/WmfmA", + "https://goo.gl/maps/WmfmA", "https://www.google.com/maps/preview#!q=hotel&data=!1m4!1m3!1d849587!2d29.1797946!3d47.0152013!2m1!1e3!4m10!1m9!4m8!1m3!1d849633!2d19.1797946!3d47.0152013!3m2!1i1920!2i937!4f13.1&fid=7" */ ] diff --git a/plugins/domains/slid.es.js b/plugins/domains/slid.es.js index 4ca16a35b..7b1774222 100644 --- a/plugins/domains/slid.es.js +++ b/plugins/domains/slid.es.js @@ -20,7 +20,7 @@ export default { getLink: function(urlMatch, query) { if (urlMatch[1] !== 'blog.') { return { - href: `${urlMatch[0].replace('http://', '//')}/embed` + (query.token ? `?token=${query.token}` : ''), + href: `${urlMatch[0].replace('https://', '//')}/embed` + (query.token ? `?token=${query.token}` : ''), accept: CONFIG.T.text_html, rel: [CONFIG.R.player, CONFIG.R.slideshow], 'aspect-ratio': 960/700, @@ -37,7 +37,7 @@ export default { }, tests: [{skipMethods: ["getData"]}, - "http://slides.com/timkindberg/ui-router", + "https://slides.com/timkindberg/ui-router", "https://slides.com/thedatacentral/the-data-central", "https://slides.com/sunilos/javaio#/2", "https://slides.com/webmax/angular-status-13" From 871f408a0f54d9ee3ae48895baa130146c3f92f3 Mon Sep 17 00:00:00 2001 From: Alexey Date: Mon, 11 May 2026 16:32:48 +0300 Subject: [PATCH 2/3] remove unused tests --- plugins/domains/test.com/test1.js | 16 ---------------- plugins/domains/test.com/test2.js | 15 --------------- plugins/domains/test.com/test3.js | 13 ------------- 3 files changed, 44 deletions(-) delete mode 100644 plugins/domains/test.com/test1.js delete mode 100644 plugins/domains/test.com/test2.js delete mode 100644 plugins/domains/test.com/test3.js diff --git a/plugins/domains/test.com/test1.js b/plugins/domains/test.com/test1.js deleted file mode 100644 index 01ef363d1..000000000 --- a/plugins/domains/test.com/test1.js +++ /dev/null @@ -1,16 +0,0 @@ -export default { - - provides: 'test_data1', - - getData: function(cb) { - setTimeout(function() { - cb(null, { - test_data1: true - }); - }, 100); - }, - - tests: { - noTest: true - } -}; \ No newline at end of file diff --git a/plugins/domains/test.com/test2.js b/plugins/domains/test.com/test2.js deleted file mode 100644 index 33fd1557c..000000000 --- a/plugins/domains/test.com/test2.js +++ /dev/null @@ -1,15 +0,0 @@ -export default { - - provides: ['test_data2', 'test_plugin'], - - getData: function(test_data1) { - return { - test_data2: true, - test_plugin: true - }; - }, - - tests: { - noTest: true - } -}; \ No newline at end of file diff --git a/plugins/domains/test.com/test3.js b/plugins/domains/test.com/test3.js deleted file mode 100644 index 7e0d746cc..000000000 --- a/plugins/domains/test.com/test3.js +++ /dev/null @@ -1,13 +0,0 @@ -export default { - - getLink: function(test_data2) { - return { - href: 'http://test.com', - type: 'text/html' - }; - }, - - tests: { - noTest: true - } -}; \ No newline at end of file From e9fcd8ecbb34640e9296480cfb4866d9f0cd37c2 Mon Sep 17 00:00:00 2001 From: Alexey Date: Mon, 11 May 2026 18:02:01 +0300 Subject: [PATCH 3/3] bigthink.com: they change player to mux --- plugins/domains/bigthink.com.js | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 plugins/domains/bigthink.com.js diff --git a/plugins/domains/bigthink.com.js b/plugins/domains/bigthink.com.js deleted file mode 100644 index 21efce2ac..000000000 --- a/plugins/domains/bigthink.com.js +++ /dev/null @@ -1,33 +0,0 @@ -export default { - - mixins: [ - "*" - ], - - getData: function(ld, cheerio, cb) { - var $el = cheerio('head script[src*="cdn.jwplayer.com"]'); - var player_re = /jwplayer.com\/libraries\/(\w+)\.js/i; - var media_re = /jwplayer.com\/v\d+\/media\/(\w+)\/poster\.jpg$/i; - - if ($el.length > 0 - && player_re.test($el.attr('src')) - && ld.article && ld.article.image - && media_re.test(ld.article.image.url)) { - - var player_id = $el.attr('src').match(player_re)[1]; - var media_id = ld.article.image.url.match(media_re)[1]; - - cb (null, { - __promoUri: `https://content.jwplatform.com/players/${media_id}-${player_id}.html` - }); - } else { - cb(null); - } - }, - - tests: [ - "http://bigthink.com/videos/bre-pettis-on-makerbot-3-d-printing", - "http://bigthink.com/videos/vivek-wadhwa-every-industry-will-be-disrupted", - "https://bigthink.com/the-present/neil-degrasse-tyson-life-on-europa-jupiters-icy-moon/" - ] -}; \ No newline at end of file