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(/