İlk hocam mesajı: https://www.r10.net/70-post.html

İkinci hocam mesajı: https://www.r10.net/637-post.html


Ufak bir kod ile çözdük



for (let i = 1; i < 1000; i++) {
fetch('https://www.r10.net/'+i+'-post.html')
.then(response => response.text())
.then(data => {
if (data.includes('hoca')) {
console.log("Naber müdür " + i);
}
})
.catch(error => {
console.error("Hata oluştu:", error);
});

}