From d150a34e5d16982c92eeaaca2e863affe6c27a82 Mon Sep 17 00:00:00 2001 From: Alexey <34516115+siniakinaa@users.noreply.github.com> Date: Mon, 18 Nov 2024 18:46:18 +0300 Subject: [PATCH] domains: remove ebaumaworld b/c of embed sizes and a lot of content not working (#564) * tests: change protocol to https in ebaumsworld tests * tests: ebaumsworld change accept to type * ebaumsworld: change aspect ratio according to embed * domains/ebaumaworld.com: bad sizing of embed in twitter/instagram/vertical videos --- plugins/domains/ebaumsworld.com.js | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 plugins/domains/ebaumsworld.com.js diff --git a/plugins/domains/ebaumsworld.com.js b/plugins/domains/ebaumsworld.com.js deleted file mode 100644 index 8c67aadf4..000000000 --- a/plugins/domains/ebaumsworld.com.js +++ /dev/null @@ -1,28 +0,0 @@ -export default { - - re: [ - /^https?:\/\/www\.ebaumsworld\.com\/video\/watch\/(\d+)/i, - /^https?:\/\/\w+\.ebaumsworld\.com\/videos\/[a-zA-Z0-9_-]+\/(\d+)/i - ], - - mixins: ["*"], - - getLink: function(urlMatch) { - - // https://www.ebaumsworld.com/media/embed/81387150 - return { - href: "https://www.ebaumsworld.com/media/embed/" + urlMatch[1], - accept: CONFIG.T.text_html, - rel: [CONFIG.R.player, CONFIG.R.autoplay], - "aspect-ratio": 567 / 345 - }; - }, - - tests: [{ - page: "http://www.ebaumsworld.com/videos/", - selector: ".title a" - }, - "http://www.ebaumsworld.com/video/watch/81387150/", - "http://gaming.ebaumsworld.com/videos/when-gta-v-online-spirals-way-out-of-control/85583669/" - ] -}; \ No newline at end of file