MCPcopy Index your code
hub / github.com/MALSync/MALSync / animekai

Function animekai

webpackConfig/autoUrls.mjs:69–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67}
68
69async function animekai() {
70 const response = await fetch('https://animekai.ws/');
71 const body = await response.text();
72
73 const $ = cheerio.load(body);
74
75 const urls = $('.site-lists li > a')
76 .map((i, el) => new URL($(el).attr('href')))
77 .get();
78
79 let formattedUrls = [];
80 for (const url of urls) {
81 formattedUrls.push('*://' + url.hostname + '/*');
82 }
83 addChibiUrls('AnimeKAI', formattedUrls);
84}
85
86async function bato() {
87 const response = await fetch('https://batotomirrors.pages.dev');

Callers

nothing calls this directly

Calls 3

fetchFunction · 0.85
addChibiUrlsFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected