()
| 67 | } |
| 68 | |
| 69 | async 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 | |
| 86 | async function bato() { |
| 87 | const response = await fetch('https://batotomirrors.pages.dev'); |
nothing calls this directly
no test coverage detected