()
| 50 | } |
| 51 | |
| 52 | async 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 | |
| 69 | async function animekai() { |
| 70 | const response = await fetch('https://animekai.ws/'); |
nothing calls this directly
no test coverage detected