1
0
forked from 50n50/sources

Update animedefenders/animedefenders.js

This commit is contained in:
aka paul
2026-02-09 14:27:49 +00:00
parent 4086596664
commit 9c21adde0f
+5 -1
View File
@@ -7,8 +7,12 @@ async function searchResults(keyword) {
const regex = /<a class="vod-item-img shining" href="(.*?)">[\s\S]*?data-original="(.*?)"[\s\S]*?<h3 class="vod-item-title.*?"><a href=".*?">(.*?)<\/a><\/h3>/g;
let match;
while ((match = regex.exec(html)) !== null) {
let title = match[3].trim();
title = title.replace(/\s*\(Uncensored\)\s*$/i, '');
title = title.replace(/\s*BD\s*$/i, '');
title = title.trim();
results.push({
title: match[3].trim(),
title: title,
image: match[2].trim(),
href: "https://animedefenders.me" + match[1].trim()
});