This commit is contained in:
√(noham)²
2023-07-21 11:00:02 +02:00
parent 5ae8a9d870
commit 4f241e4b60
23 changed files with 30 additions and 11 deletions

View File

@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title>Image Links</title>
</head>
<body>
<h1>Image Links</h1>
<div id="imageContainer"></div>
<script src="script.js"></script>
</body>
</html>

12
cams/scrap/html/keep.txt Normal file
View File

@@ -0,0 +1,12 @@
http://203.106.109.141:8081/cgi-bin/viewer/video.jpg?r=COUNTER
http://175.138.229.49:8082/cgi-bin/viewer/video.jpg?r=COUNTER
http://175.139.217.149:8081/cgi-bin/viewer/video.jpg?r=COUNTER
http://111.70.20.27/cgi-bin/viewer/video.jpg?r=COUNTER
http://86.121.159.16/cgi-bin/faststream.jpg?stream=half&fps=15&rand=COUNTER
http://166.139.118.183:8081/webcapture.jpg?command=snap&channel=1?COUNTER
http://142.154.137.29/mjpg/video.mjpg
http://166.154.166.8/mjpg/video.mjpg
http://83.91.176.170/mjpg/video.mjpg
http://64.91.25.240:82/mjpg/video.mjpg
http://50.252.187.218/mjpg/video.mjpg
http://118.22.23.185/SnapshotJPEG?Resolution=640x480&amp;Quality=Clarity&amp;COUNTER

18
cams/scrap/html/script.js Normal file
View File

@@ -0,0 +1,18 @@
fetch('result.txt')
.then(response => response.text())
.then(data => {
const imageLinks = data.split('\n');
const container = document.getElementById('imageContainer');
imageLinks.forEach(link => {
if (link.trim() !== '') {
const img = document.createElement('img');
img.src = link;
img.style.display = 'block';
container.appendChild(img);
}
});
})
.catch(error => {
console.error('Error:', error);
});