1
0
forked from 50n50/sources

Update dev/dev.js

This commit is contained in:
aka paul
2026-01-17 19:18:40 +00:00
parent 38252cef80
commit c287215dfb
+6 -10
View File
@@ -1,17 +1,13 @@
async function searchResults(keyword) { async function searchResults(keyword) {
const results = []; const results = [];
try { try {
const response = await fetchv2(); const anagram = _0xB4F2();
const html = await response.text();
let match; results.push({
while ((match = regex.exec(html)) !== null) { title: anagram,
results.push({ image: "",
title: match[3].trim(), href: ""
image: match[2].trim(), });
href: match[1].trim()
});
}
return JSON.stringify(results); return JSON.stringify(results);
} catch (err) { } catch (err) {