From 494f820496434e931f95115d8bf470dc2b1e0e6b Mon Sep 17 00:00:00 2001 From: aka paul <50n50@noreply.localhost> Date: Sat, 7 Feb 2026 15:06:26 +0000 Subject: [PATCH] Add 123anime/123anime.js --- 123anime/123anime.js | 129 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 129 insertions(+) create mode 100644 123anime/123anime.js diff --git a/123anime/123anime.js b/123anime/123anime.js new file mode 100644 index 0000000..3810a4c --- /dev/null +++ b/123anime/123anime.js @@ -0,0 +1,129 @@ +async function searchResults(keyword) { + const results = []; + try { + const response = await fetchv2("https://123animes.ru/search?keyword=" + encodeURIComponent(keyword)); + const html = await response.text(); + + const filmListMatch = html.match(/
([^<]*)<\/p>/); + if (aliasMatch) { + aliases = aliasMatch[1].trim(); + } + + const airdateMatch = html.match(/