diff --git a/index.js b/index.js index 5210d91..3f05b22 100644 --- a/index.js +++ b/index.js @@ -31,9 +31,10 @@ http while ((match = pattern.exec(html)) !== null) { if (match.length > 0) { const playUrl = match[1]; - const decodedUrl = unicodeToChar(playUrl); - - urls.push(decodedUrl); + if (playUrl.match(/sdi4|sdi5|sdi6/)) { + const decodedUrl = unicodeToChar(playUrl); + urls.push(decodedUrl); + } } }