only use useful cameras
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
90fb113248
commit
50aa3b66cf
7
index.js
7
index.js
@ -31,9 +31,10 @@ http
|
|||||||
while ((match = pattern.exec(html)) !== null) {
|
while ((match = pattern.exec(html)) !== null) {
|
||||||
if (match.length > 0) {
|
if (match.length > 0) {
|
||||||
const playUrl = match[1];
|
const playUrl = match[1];
|
||||||
const decodedUrl = unicodeToChar(playUrl);
|
if (playUrl.match(/sdi4|sdi5|sdi6/)) {
|
||||||
|
const decodedUrl = unicodeToChar(playUrl);
|
||||||
urls.push(decodedUrl);
|
urls.push(decodedUrl);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user