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

Function kickassanime

webpackConfig/autoUrls.mjs:52–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50}
51
52async function kickassanime() {
53 const response = await fetch('https://watchanime.io');
54 const body = await response.text();
55
56 const $ = cheerio.load(body);
57
58 const urls = $('.domain-btn')
59 .map((i, el) => new URL($(el).attr('href')))
60 .get();
61
62 let formattedUrls = [];
63 for (let url of urls) {
64 formattedUrls.push('*://*.' + url.hostname + '/*');
65 }
66 addPageUrls('KickAssAnime', formattedUrls);
67}
68
69async function animekai() {
70 const response = await fetch('https://animekai.ws/');

Callers

nothing calls this directly

Calls 3

fetchFunction · 0.85
addPageUrlsFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected