From b31671fd34cd8d9aae7d3bfd78a50c199891f9b8 Mon Sep 17 00:00:00 2001 From: Andreev Sergey <DragorWW@Gmail.com> Date: Tue, 1 Dec 2020 20:26:33 +0300 Subject: [PATCH] Incorrect yandex-music-track url parser --- src/services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services.js b/src/services.js index 806395f0..18908169 100644 --- a/src/services.js +++ b/src/services.js @@ -99,7 +99,7 @@ export default { width: 540, }, 'yandex-music-track': { - regex: /https?:\/\/music\.yandex\.ru\/album\/([0-9]*)\/track\/([0-9]*)/, + regex: /https?:\/\/music\.yandex\.ru\/album\/[0-9]*\/track\/([0-9]*)/, embedUrl: 'https://music\.yandex\.ru/iframe/#track/<%= remote_id %>/', html: '<iframe frameborder="0" style="border:none;width:540px;height:100px;" style="width:100%;" height="100"></iframe>', height: 100,