From 17b3606d4f8ee0dc413f53885d4aa84b2bf87fe6 Mon Sep 17 00:00:00 2001 From: aka paul <50n50@noreply.localhost> Date: Sat, 18 Apr 2026 18:31:13 +0000 Subject: [PATCH] Update dora-video/dora-video.js --- dora-video/dora-video.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dora-video/dora-video.js b/dora-video/dora-video.js index d3e700f..ab011bb 100644 --- a/dora-video/dora-video.js +++ b/dora-video/dora-video.js @@ -3,13 +3,13 @@ async function searchResults(keyword) { const response = await fetchv2(`https://www.dora-video.cn/search/${keyword}/`); const html = await response.text(); - const regex = /
.*?.*?data-url="(.*?)".*?(.*?)<\/span>/gs; + const regex = /
.*?.*?]+data-url="(.*?)"[^>]*>.*?(.*?)<\/span>/gs; let match; while ((match = regex.exec(html)) !== null) { results.push({ title: (match[3] || "").trim().replace(/a<\/font>||<\/font>/g, " "), - image: "https://i.ibb.co/ds7r6YJy/Search-has-no-images.png", + image: match[2].trim(), href: match[1].trim() }); }