update
Fetch and Save Remote Content / fetch (push) Successful in 39s
Sync Versions to index.json / sync-versions (push) Failing after 54s

This commit is contained in:
aka paul
2026-05-27 20:30:23 +02:00
parent caffaabc88
commit 597f279e49
113 changed files with 1207 additions and 980 deletions
+114
View File
@@ -0,0 +1,114 @@
async function searchResults(keyword) {
const regex = /<a href="([^"]+)">\s*<img src="([^"]+)"[^>]*>\s*<h3>([^<]+)<\/h3>/g;
const results = [];
try {
const response = await fetchv2("https://animeyy.com/?act=ajax&code=search_manga&keyword=" + encodeURIComponent(keyword));
const html = await response.text();
let match;
while ((match = regex.exec(html)) !== null) {
let title = match[3].trim();
title = title.replace(/&#39;/g, "'").replace(/&quot;/g, '"').replace(/&amp;/g, '&').replace(/&lt;/g, '<').replace(/&gt;/g, '>');
const imageUrl = "https://animeyy.com/" + match[2].trim();
const passthroughImage = "https://passthrough-worker.simplepostrequest.workers.dev/?simple=" + encodeURIComponent(imageUrl) + "&referer=https://animeyy.com/";
results.push({
title: title,
image: passthroughImage,
href: "https://animeyy.com" + match[1].trim()
});
}
return JSON.stringify(results);
} catch (err) {
return JSON.stringify([{
title: "Error",
image: "Error",
href: "Error"
}]);
}
}
async function extractDetails(url) {
try {
const response = await fetchv2(url);
const html = await response.text();
const aliasesMatch = html.match(/<strong>Alternative:<\/strong>\s*([^<]+)/);
let aliases = aliasesMatch ? aliasesMatch[1].trim() : "N/A";
aliases = aliases.replace(/&#39;/g, "'").replace(/&quot;/g, '"').replace(/&amp;/g, '&').replace(/&lt;/g, '<').replace(/&gt;/g, '>');
const descMatch = html.match(/<div id="summary_shortened">([\s\S]*?)<\/div>/);
let description = descMatch ? descMatch[1].trim() : "N/A";
description = description.replace(/&#39;/g, "'").replace(/&quot;/g, '"').replace(/&amp;/g, '&').replace(/&lt;/g, '<').replace(/&gt;/g, '>');
return JSON.stringify([{
description: description,
aliases: aliases,
airdate: "N/A"
}]);
} catch (err) {
return JSON.stringify([{
description: "Error",
aliases: "Error",
airdate: "Error"
}]);
}
}
async function extractEpisodes(url) {
const results = [];
const episodesRegex = /<li class="wp-manga-chapter"><a href="([^"]+)">(\d+)<\/a>/g;
try {
const response = await fetchv2(url);
const html = await response.text();
let match;
while ((match = episodesRegex.exec(html)) !== null) {
results.push({
href: "https://animeyy.com" + match[1].trim(),
number: parseInt(match[2], 10)
});
}
return JSON.stringify(results.reverse());
} catch (err) {
return JSON.stringify([{
href: "Error",
number: "Error"
}]);
}
}
async function extractStreamUrl(url) {
try {
const response = await fetchv2(url);
const html = await response.text();
const iframeMatch = html.match(/<iframe src="([^"]+)"/);
if (iframeMatch) {
const streamUrl = iframeMatch[1].replace('/embed/', '/anime/');
return JSON.stringify({
streams: [
{
title: "Server 1",
streamUrl: streamUrl,
headers: {
Referer: "https://www.animeyy.com/"
}
}
],
subtitle: ""
});
} else {
return JSON.stringify({
streams: [],
subtitle: ""
});
}
} catch (err) {
return JSON.stringify({
streams: [],
subtitle: ""
});
}
}
+26
View File
@@ -0,0 +1,26 @@
{
"sourceName": "Animez",
"iconUrl": "https://files.catbox.moe/gnkywd.png",
"author": {
"name": "50/50",
"icon": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ3122kQwublLkZ6rf1fEpUP79BxZOFmH9BSA&s"
},
"version": "1.0.0",
"language": "English (Hardsub)",
"streamType": "HLS",
"quality": "1080p",
"baseUrl": "https://animeyy.com/",
"searchBaseUrl": "https://animeyy.com/",
"scriptUrl": "https://git.luna-app.eu/50n50/sources/raw/branch/main/animez/animez.js",
"type": "anime",
"asyncJS": true,
"softsub": true,
"downloadSupport": false,
"supportsSora": true,
"supportsLuna": true,
"supportsMojuru": true,
"supportsDartotsu": true,
"supportsAnymex": true,
"supportsTsumi": true,
"supportsHiyoku": true
}