Update dev/dev.js
This commit is contained in:
+7
-11
@@ -1,17 +1,13 @@
|
||||
async function searchResults(keyword) {
|
||||
const results = [];
|
||||
try {
|
||||
const response = await fetchv2();
|
||||
const html = await response.text();
|
||||
|
||||
let match;
|
||||
while ((match = regex.exec(html)) !== null) {
|
||||
results.push({
|
||||
title: match[3].trim(),
|
||||
image: match[2].trim(),
|
||||
href: match[1].trim()
|
||||
});
|
||||
}
|
||||
const anagram = _0xB4F2();
|
||||
|
||||
results.push({
|
||||
title: anagram,
|
||||
image: "",
|
||||
href: ""
|
||||
});
|
||||
|
||||
return JSON.stringify(results);
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user